ChartSeriePoint.isColorSet

Syntax

isColorSet();

Description

The isColorSet method determines if any color is set for the point.

Comments

This method returns true if some color is set for the bubble, and false if bubble colors are auto determined.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Check if a specific color is set for the first point of the first series:

// Get the first data series in the bubble chart
var serie = bubbleChart.getSeries()[0];
// Get the first bubble in this series
var point = serie.getPoints()[0];
// Determine if some color is set for the bubble
alert(point.isColorSet());

After the example execution crosshair settings are displayed for the first bubble in the first data series.

See also:

ChartSeriePoint