UseMarkersThinning: Boolean;
The UseMarkersThinning property determines whether markers are hidden on condition that some of them overlap.
Use JSON or the setUseMarkersThinning method to set the property value, and the getUseMarkersThinning method to get the property value.
Available values:
true. All markers of chart data series are hidden if at least some of them overlap.
false. All markers of chart data series are shown even if some of them overlap (default).
To execute the example, the HTML page must contain the Chart component named chart (see Example of Creating a Spline Chart). Indicate that markers of chart data series must be hidden in case they overlap and set new size for the markers:
// Set new size for markers chart.setMarkersRadius(20); // Set attribute that markers a hidden in case if they overlay chart.setUseMarkersThinning(true); // Redraw chart data series chart.redrawSeries();
After executing the example markers of chart data series are hidden:
See also: