getCrosshairLayer();
The getCrosshairLayer method returns the layer that contains dashed lines of items selected in the bubble chart plot area.
The returned value is an instance of the following class: PP.Ui.Canvas.
To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Select the first item in the bubble chart by hovering over it:
Remove labels that indicate bubble position:
// Get bubble chart plot area var chart = bubbleChart.getChartArea(); // Clear crosshair of the selected item chart.getCrosshairLayer().clear(); // Clear the labels that show bubble position chart.getCrosshairLabelsLayer().remove();
After this the layer that contains selected items' crosshairs and the layer of labels indicating selected items' position, are removed:
See also: