Hi All,
I am using a Column chart in my Silverlight Application.The Chart is Displaying fine with the records of 10000 or 20000 but when the Records are going beyond lakhs then its not showing up the Graph.Do any one faced this problem before!!!
Plesae help on this...
Thanks,
Prasant
Loading

Mahadesh MahalingappaPosted Aug 22, 2011, 2:31 PM
Please find the code below :
<
UserControl x:Class="questionpaper.SilverlightControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
<Grid x:Name="LayoutRoot" Background="White">
<toolkit:Chart HorizontalAlignment="Left" Margin="101,69,0,0" Name="chart1" Title="Chart Title" VerticalAlignment="Top">
<toolkit:ColumnSeries DependentValuePath="Y" IndependentValuePath="X">
<toolkit:ColumnSeries.ItemsSource>
<PointCollection>
<Point>1,10Point>
<Point>2,20Point>
<Point>3,30Point>
<Point>4,4000000Point>
PointCollection>
toolkit:ColumnSeries.ItemsSource>
toolkit:ColumnSeries>
toolkit:Chart>
Grid>UserControl>I have used Large data and modified the DependentValuePath="Y" and IndependentValuePath="X" .
Once you swap these it should work .
Thanks ,
Mahadesh
Prasant JinagaPosted Aug 21, 2011, 2:16 AM
Thanks a Ton for the Responce!!!
Could you please tell me where to set this auto range as false and set max,min and step values ???
Can you please give me the sample Code if you have!!!
Thanks,
Prasant
Gomathi PalaniswamyPosted Aug 20, 2011, 10:47 AM
I too have faced same problem.To solve this problem have fix auto range as false.and set max,min and step values.