We use WPF’s lineChart component to load a huge file. This file may contain a lot of curves, each curve contains 32M points. The point is of type float.
We found that the loading curve of the line chart is relatively slow. Through performance analysis, I think it is caused by XYDataSeries.Append(IEnumber x,IEnumber y).
Excuse me, how can I optimize. It would be better if there is a code example.
Looking forward to your reply.
Thanks for your inquiry.
You can use Batch Appends. Please take a look at the “Batch Appends to the DataSeries, using the overloaded API” section of the following documentation for more info:
We have also noticed you use an outdated SciChart version. We recommend using the latest one, which is SciCHart v22.214.171.12476 currently. It has a lot of improvements since previous versions, e.g. our new Visual Xccelerator Engine, and SciChart v5.x is no longer supported.
With best regards,
Please login first to submit.