DataVisualizer.EnableSelection

Syntax

EnableSelection: Boolean;

Description

The EnableSelection property determines whether visualizer items can be selected.

Comments

Use JSON or the setEnableSelection method to set the property value and the getEnableSelection method to get the property value.

The property is set to True (default) if items can be selected and the False value is it cannot be selected.

Example

To execute the example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Select item and disable items selection:

// Select items with the Item2 identifier
bubbleChart.setItemSelection("Item2", true);
// Disable items selection
bubbleChart.setEnableSelection(false);

As a result of executing the example, the item with the Item2 identifier is selected and after that visualizer items selection is disabled.

See also:

DataVisualizer