Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
How to decimate a scatter series
posted

The concept here is to find a way in which I can define to a scatter series in a XamDataChart a subset of points to not display in the chart. Instead of displaying 10 million points just set a rule or some mechanism that can filter a subset that I don't want to show.

  • 34810
    Suggested Answer
    Offline posted

    Hello Martin,

    Thank you for your post.

    Currently the best recommendation that I can give you on this matter is to query the underlying data source that you are binding to your ScatterSeries and remove the subset of points that you do not wish to be displayed. When there are many points to be displayed in this type of series, the ScatterSeries does have a mechanism that it uses to display a certain amount of points by using the MaximumMarkers property of the ScatterSeries. This can be set, but it would be rather difficult to actually control which points get displayed, as it internally uses an algorithm to show a representative set of markers to the data that is bound.

    Another thing you may want to look into, especially if you really do plan on displaying 10 million points in the XamDataChart, is the usage of the HighDensityScatterSeries, as this series was designed for displaying a massive amount of points. You can read more about this series type in our online documentation article about it, here: http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=DataChart_Scatter_High_Density_Scatter_Series.html.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support