Chart.UseMarkersThinning

Syntax

UseMarkersThinning: Boolean;

Description

The UseMarkersThinning property determines whether markers are hidden on condition that some of them overlap.

Comments

Use JSON or the setUseMarkersThinning method to set the property value, and the getUseMarkersThinning method to get the property value.

Available values:

Example

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:

Chart