SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I need your help regarding memory management to use scichart in my application.
First, here my configuration:
Processor: Intel Core i5 2400 CPU @ 3.10GHz
Installed memory: 4.00 GB (2.92 usable)
System Type: 32-bit
SciCHART Version: 220.127.116.1118
Dataseries : XYDataSeries <datetime, float>.
I don’t know in advance how many I’ll have dataseries. It depends on the user.
About 100 dataseries for more than one million points each.
Given the number of points you can not store everything in memory.
What are the solutions that you can advocate for me?
Is there a solution to compress dataseries?
There is no way to compress DataSeries in SciChart’s XyDataSeries, we can only recommend to either pre-process the data to be smaller, or to expand memory on the target PC.
If you want to pre-process data, take a look at our DataSeries.ToPointSeries method, which is used internally to perform resampling of data. You can call this method passing in parameters to reduce the dataset from millions down to a few thousand points.
Alternatively, you can use another Line Compression Algorithm to reduce the data before display and reload as the user zooms or pans the chart, although this method will result in visual data-loss.
Thank you for your reply.
I try to use the DataSeries.ToPointSeries method but I can not know it are the parameters to pass.
In addition, I would like to execute calculations show but the framework does not offer what I hope (like fourrier calculation, etc.)
Have you ever try to run python code or you know a library that allows you to make calculations advance.
Please login first to submit.