getInnerPaperArea();
The getInnerPaperArea method gets a rectangle that contains plot area size ignoring borders.
The returned value is an instance of the following class: PP.Rect.
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: