Pre loader

How to optimize large file loading


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.

  • You must 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:

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,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies