WPF Charting Documentation - SciChart WPF Charts SDK v5.x
The Extreme Resamplers API

In response to a number of support requests regarding accuracy of Resampler Algorithms in SciChart when the data includes NaN, our team has developed a new set of C++ resampling algorithms. These are built into SciChart v5 and must be enabled to take advantage of them.

The performance of these resamplers is equivalent to that of SciChart WPF's default c# unsafe code resamplers, however they provide far higher accuracy in some cases. This API is recommended if:

Enabling Extreme Resamplers in the WPF Chart Examples App

Enabling Extreme Resamplers in the WPF Chart Examples App

To Enable the Extreme Resamplers

Set the attached property PerformanceHelper.ExtremeResamplersProperty to TRUE on the SciChartSurface.

Adjusting Resampling Resolution

This new set of resampers also allow for changing of the precision of resampling. By default, SciChart outputs two points per pixel on the screen for time-series when downsampling data. You can change this to be 4, 8 or more for higher resolution charts.

Set the property BaseRenderableSeries.ResamplingPrecision to adjust this precision, according to the following rule.

Affect of ResamplingPrecision

Affect of ResamplingPrecision


Have a look closely at the image above to see the difference. Notice that the edges of the chart when ResamplingPrecision=0 are jagged? The same edges are smooth when ResamplingPrecision is 1, 2, or 3.


NOTE: Higher Precision results in more points after the resampling step and will increase visual accuracy at the expense of some performance.





SCICHART ® is a Registered Trademark in the UK, US and EEC. Copyright SciChart Ltd 2011-2018.

Email us to give feedback!