BubbleChart.OffsetX

Syntax

OffsetX: Number;

Description

The OffsetX property determines bubble offset from the left border of bubble chart plot area.

Comments

Use JSON or the setOffsetX method to set the property value and the getOffsetX method to get the property value.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Set offsets for bubble chart bubbles relative to the left and top borders of the plot area:

// Set horizontal offset
bubbleChart.setOffsetX(150);
// Set vertical offset
bubbleChart.setOffsetY(70);
// Rebuild all bubble chart items
bubbleChart.rebuildAll();

After executing the example an offset is set for the bubble chart bubbles, equal to 150 pixels from the left border and 70 pixels from the top border:

See also:

BubbleChart