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.
- wang peng asked 3 years ago
- You must login to post comments
Hello Wang,
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:
https://www.scichart.com/documentation/win/current/webframe.html#Performance_Tips_&_Tricks.html
We have also noticed you use an outdated SciChart version. We recommend using the latest one, which is SciCHart v6.3.0.13476 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,
Oleksandr
- Oleksandr Shvets answered 3 years ago
- You must login to post comments
Please login first to submit.