BubbleChart.UseBubbleFillForTooltip

Syntax

UseBubbleFillForTooltip: Boolean;

Description

The UseBubbleFillForTooltip property determines whether color of bubble chart bubbles is used for tooltips fill.

Comments

Use JSON or the setUseBubbleFillForTooltip method to set the property value and the getUseBubbleFillForTooltip method to get the property value.

The property is set to True if the color of bubble chart bubbles is used for tooltips fill, and False if this color is not used.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Prohibit using color of bubble chart bubbles to fill tooltips:

// Prohibit using of bubble color to fill tooltips
bubbleChart.setUseBubbleFillForTooltip(false);
// Get bubble chart bubble from the first data series
var point = bubbleChart.getSeries()[0].getPoints()[0];
// Generate and display tooltip for this point
point.setTooltip(new PP.Ui.ChartTooltip());
point.setIsTooltipOn(true);
// Select this point
point.setSelection(new PP.Ui.ChartSelection({
    Chart: bubbleChart
}));
point.setIsCrosshairOn(true);

After the example execution a tooltip is shown for selected series point. In this case color of chart bubbles is not used to fill this tooltip:

See also:

BubbleChart