ChartGrid.getBottomBorderWidth

Syntax

getBottomBorderWidth();

Description

The getBottomBorderWidth method returns width of the bottom border for bubble chart coordinate grid.

Comments

This method returns a Number type value.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Get width of coordinate grid borders:

// Get bubble chart coordinate grid
var grid = bubbleChart.getChartArea().getGrid();
// Get width of coordinate grid bottom border
console.log("Width of coordinate grid bottom border: " + grid.getBottomBorderWidth());
// Get width of coordinate grid top border
console.log("Width of coordinate grid top border: " + grid.getTopBorderWidth());
// Get width of coordinate grid left border
console.log("Width of coordinate grid left border: " + grid.getLeftBorderWidth());
// Get width of coordinate grid right border
console.log("Width of coordinate grid right border: " + grid.getRightBorderWidth());

After that values of coordinate grid borders width are shown to the console:

Width of coordinate grid bottom border: 4

Width of coordinate grid top border: 0

Width of coordinate grid left border: 0

Width of coordinate grid right border: 0

See also:

ChartGrid