DataVisualizer.disposeData

Syntax

disposeData();

Description

The disposeData method deletes complex properties of visualizer.

Comments

The method removes the DataSources, Visuals, Scales, Transformers, Legends properties of the visualizer.

It is recommended to use before the dispose() method.

Example

To execute the example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Remove visualizer component and its settings:

// Remove complex properties of visualizer
bubbleChart.disposeData();
// Remove the visualizer
bubbleChart.dispose();

As a result of example executing all available settings of visualizer are removed.

See also:

DataVisualizer