Hi all,
I’m inserting some data into my data series and the chart shows it incorrect(see Before.jpg) . After that, when I zoom out my chart by mouse wheel, the chart shows correct (see attachment After.jpg).
Best Regards,
Arthur
- Arthur Romanov asked 11 years ago
- You must login to post comments
Hi Arthur,
This issue has come up a lot recently. This is due to the Resampling Mode which is set to MinMax by default on renderable series. Please set FastLineRenderableSeries.ResamplingMode = ResamplingMode.None and let me know if the error still occurs.
The ResamplingMode.MinMax was designed before SciChart had a value-XAxis and assumed the data was evenly spaced. If you have large gaps or spaces between data-points then it won’t work as well, yielding incorrect render results.
To address this we are working on improving rendering speed and quality first, and looking into alternative resampling methods second.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 11 years ago
-
Hi Andrew, Thanks, it solved my problem. Best Regards, Arthur
- You must login to post comments
UPDATE SciChart v3.0
We now support ResamplingMode.Auto, which auto-detects the data distribution of your data and applies the correct algorithms for rendering.
Some of the problems we solved include
- Detection of Unevenly spaced data, which broke the MinMax algorithm
- Detection of Unsorted data, which broke the whole renderer
Note that you will get the fastest performance using Sorted, Evenly spaced data, then Sorted, Unevely spaced and an order of magnitude slower Unsorted data. This is simply because of the algorithms we can choose to deal with unsorted data are not as performant.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 10 years ago
- You must login to post comments
Please login first to submit.