NullReferenceException at Telerik.Charting.DataPoint.Measure()
Recently we fixed a bug that lead to the same exception in the same method. The bug occurred when a series was added to the Series collection, then it was removed and later added again. If your scenario is similar to this one - this could just be the cause of it. This bug is now fixed and the fix will be available with the next LIB.
After about 20 secs after start time the app begins to lag.
The RadChartView generally has a very high performance rate, but 60 series is a lot! Adding DataPoints every half a second will push the chart to its limits. May be if you prepare a small project for us to see (to better understand) we can give you more constructive suggestions, but for know I can only make very basic suggestions:
1. Keep the total count of the DataPoints below several thousand. You mentioned you are adding and removing DataPoints
. If you mean that you are using the chart in its unbound mode (i.e. you are creating the DataPoints manually) - this would probably be the better choice (performance-wise). If you are using the CategoryBinding, ValueBinding or XValueBinding of the series - consider working directly with DataPoints.
2. If you haven't done that already - consider sampling your data. This is closely related to the above suggestion - keep the count of the DataPoints below a certain threshold. If you are in a data-bound mode, you can try the ChartDataSource.
3. Try LineSeries instead of the AreaSeries. With the new Q3 release, that just came out, we have introduced a new RenderMode (Light) for the LineSeries - and they have an outstanding performance (example here
Let us know if we can assist you any further.
the Telerik team