This question is locked. New answers and comments are not allowed.
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
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