Silverlight Charts for huge data

2 posts, 0 answers
  1. Gurmeet Singh Kalra
    Gurmeet Singh Kalra avatar
    2 posts
    Member since:
    May 2010

    Posted 14 May 2010 Link to this post

    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++;

    }

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 19 May 2010 Link to this post

    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.
Back to Top