Selection in JavaScript 3D Chart control

18 Nov 20181 minute to read

The 3D chart provides selection support for the series and its data points on mouse click.

When mouse is clicked on the data points, the corresponding series legend will also be selected.

We have different types of selection mode for selecting a data.

  • None
  • Point
  • Series
  • Cluster

Point

To select a point, set the selectionMode property to Point.

Series

To select a series, set the selectionMode property to Series.

Cluster

To select the points that corresponds to the same index in all the series, set the selectionMode property to Cluster.

Selection type

To select multiple points or series, enable the isMultiSelect property.

Selection during initial loading

In a 3D chart, selecting a point or series during initial loading can only be done programmatically. The selectedDataIndexes property can be used for this.

Selection through legend

To select a point or series through legend use the toggleVisibility property. Also, use enableHighlight property for highlighting the series through legend.