PCArea.PaperArea

Syntax

PaperArea: PP.Rect;

Description

The PaperArea property defines the rectangle that limits the draw area.

Comments

Use JSON to set the property value and the getPaperArea method to get the property value.

Example

Executing the example requires the ParallelCoordinates component named coord (see Example of Creating the ParallelCoordinates Component). Get size of the chart draw area:

// Get size of the chart area
console.log("Chart area height: " + coord.getChartArea().getPaperArea().getHeight());
console.log("Chart area width: " + coord.getChartArea().getPaperArea().getWidth());

After this the console shows size of the chart draw area:

Chart area height: 366

Chart area width: 580

See also:

PCArea