This is a migrated thread and some comments may be shown as answers.

Silverlight Charts for huge data

1 Answer 32 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Gurmeet Singh Kalra
Top achievements
Rank 1
Gurmeet Singh Kalra asked on 14 May 2010, 06:35 AM
Hi Team,
I am using silverlight Rad Chart(RadControls_for_Silverlight_2009_3_1314_DEV) in my dashboard application. The problem is that the width of the chart is fixed to 520px as there are other charts on the page. but as per the reqirement for more than 1000 of reocrds the chart looks congested like as in attached file. I found that Sampling functionality is provided in version 2010 but i would like to know that is there any criteria to do the same in existing version so that chart look appropriate. I have also tried AxisX.Autorange and step property.


Following is the code snippet i used for binding the line chart.

this

 

.chartFirst.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Inside;

 

 

ChartArea chartArea = chartFirst.DefaultView.ChartArea;

 

chartArea.EnableAnimations =

true;

 

chartArea.AxisX.LabelRotationAngle = 45;

 

 

DataSeries series = new DataSeries();

 

series.Definition =

new LineSeriesDefinition();

 

series.Definition.ShowItemLabels =

true;

 

 

foreach (Item in dashboardCollection)

 

{

series.Add(

new DataPoint(dashboardItem.Value));

 

}

chartArea.DataSeries.Clear();

chartArea.DataSeries.Add(series);

series.Definition.ShowItemToolTips =

true;

 

series.LegendLabel =

"";

 

 

int countFirst = 0;

 

 

foreach (TickPoint tickPoint in chartFirst.DefaultView.ChartArea.AxisX.TickPoints)

 

{

tickPoint.Label = dashboardCollection[countFirst].Name ==

null ? "NULL" : dashboardCollection[countFirst].Name.ToString();

 

countFirst++;

}

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 19 May 2010, 08:00 AM
Hi Gurmeet,

I am afraid this functionality is not available in 2009 Q3 version. Please, upgrade to the latest version in order to take advantage of the latest features and bugfixes in the controls.

Best regards,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart
Asked by
Gurmeet Singh Kalra
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or