ChartArea.getInnerPaperArea

Syntax

getInnerPaperArea();

Description

The getInnerPaperArea method gets a rectangle that contains plot area size ignoring borders.

Comments

The returned value is an instance of the following class: PP.Rect.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Get plot area size without borders:

// Get bubble chart plot area
var chartArea = bubbleChart.getChartArea();
// Get plot area size without borders
console.log("Plot area width: " +  chartArea.getInnerPaperArea().getWidth());
console.log("Plot area height: " + chartArea.getInnerPaperArea().getHeight());

After this the console shows plot area size without borders:

Plot area width: 494

Plot area height: 301

See also:

ChartArea