Pre loader

How to optimize large file loading

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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.

Version
5.4.0.12119
  • You must to post comments
0
0

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

  • 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