Pre loader

SciChart Drawing is not accurate (problem with series drawing)

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

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

Images
  • You must to post comments
0
0

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

  • Arthur Romanov
    Hi Andrew, Thanks, it solved my problem. Best Regards, Arthur
  • You must to post comments
1
0

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

  • You must to post comments
Showing 2 results
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