We are utilizing thousands of data points. But instead of starting with an empty collection and adding thousands of datapoints (we have the collection populated and bind once, which works fine), we need to update all the datapoints at the same time.
Again, by default, each datapoint update generates a change notification and the RadChart re-analyses the data (which takes long, varying on the number of datapoints)
We're trying to update the information more efficiently, similar to the example of adding points more efficiently (where the messages for the collection changed are being suppressed):
While this functions (update messages are now not sent automatically and we can force the RadChart to refresh once all the points are updated), the update process still takes the same time. In comparason, the initial binding takes only a second.
Is there something missing in our implementation causing the RadChart to re-analyze the data datapoint by datapoint?
1 Answer, 1 is accepted
answered on 06 Sep 2010, 08:48 AM
Hi Dirk Black,
The best way to batch update the chart would be to use a non ObservableCollection as source (or if you need to use such a collection, refrain from updating that instance) and simply generate a new updated collection and set the chart control ItemsSource to the new collection effectively swapping it with the old one.
Let me know if the chart is still slow after trying the above.
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