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

Chart series redraw performance

1 Answer 67 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
NiCK
Top achievements
Rank 1
NiCK asked on 21 Nov 2009, 02:49 PM
I have a chart with between 2 and 5 series on it, one a bar chart and the others lines. Each series has around 100 points in it.

I need to be able to change the y-values in one of the line series. I do this by binding to an observable collection using CollectionIndex and raising a CollectionChanged event with action NotifyCollectionChangedAction.Replace.

This works but the performance is very poor and I get an ugly redraw involving a clear and refresh (as if I'd used NotifyCollectionChangedAction.Reset)

Is there a better way to do this that would work faster without a complete redraw?

Can I invalidate a single series any other way?

Another thing I'd like to do is to mark a series invisible - how can this best be done?

thanks

-NiCK

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 25 Nov 2009, 02:50 PM
Hello NiCK,

You are absolutely right. We are definitely not handling data updates in the best way.

This is something that we will be visiting for the Q1 2010 release and will do our best to better  handle data updates. This is a pretty complex task and I cannot give you a 100% promise (that it will be done in time), but we will definitely consider this behavior with a high priority.

Another thing I'd like to do is to mark a series invisible - how can this best be done?
Unfortunately no. This is another item on our backlog. For now you can try hiding the PointMarks and setting the fill of the series to transparent.

Regards,
Vladimir Milev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart
Asked by
NiCK
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or