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