Binding RadChart to SeriesMappingCollection and ObservableCollection performance

4 posts, 0 answers
  1. Hamilton
    Hamilton avatar
    10 posts
    Member since:
    Jun 2011

    Posted 08 Nov 2012 Link to this post

    Hi,

    We have a chart set up to bind ItemSource to an ObservableCollection and SeriesMapping to a SeriesMappingCollection.

    We have 100 series that we want to render progressively 2 series at a time.  How we do this is by adding SeriesMapping entries to the SeriesMappingCollection and [internal class] entries to the ObservableCollection.

    What we are finding is that up to 20 series, the chart renders OK.

    Once we go over 20 series, the chart gets progressively slower and slower and slower in rendering the data.

    Bear in mind that we had to put a sleep of 10millisceconds to allow the chart time to render each of the 2 series as it would otherwise render all 100 series at the same time.

    Any suggestions or reasons as to why the chart gets progressively slower?

    Lastly, whenever new SeriesMappings are added to a chart, does it need to repaint/redraw all the SeriesMappings?

    Thank you for your assistance.

    Tony
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 12 Nov 2012 Link to this post

    Hello,

    One possible option in this case would be to consider utilizing the ChartView component. It offers better performance.One demonstration is available in the following article:

    http://demos.telerik.com/silverlight/#ChartView/LiveData

    I hope this helps.

    All the best,
    Yavor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Hamilton
    Hamilton avatar
    10 posts
    Member since:
    Jun 2011

    Posted 12 Nov 2012 Link to this post

    Hi Yavor,

    Switching to Chartview was the 1st thing we tried - it did not help as we were still getting the progressive deterioration of performance.

    The example you gave was 1 series updating progressively.

    In our case, we are adding additional series progressively.

    Thanks,

    Tony
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 13 Nov 2012 Link to this post

    Hello,

    I suspect that in this case the cause may be the sheer number of series added to the chart. In any case, to further look into the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will review it locally, and advise you further.

    All the best,
    Yavor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top