ChartSeriePoint.Crosshair

Syntax

Crosshair: PP.Ui.ChartCrosshair;

Description

The Crosshair property determines bubble crosshair (dashed lines to the selected bubble).

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Select the first bubble in the first series with the mouse, and get settings for the bubble crosshair:

// 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];
// Get crosshair settings
var crh = point.getCrosshair();
// Show settings in JSON format
alert(JSON.stringify(crh, null, 2));

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

See also:

ChartSeriePoint