getWidth();
The getWidth method returns width of the chart axis.
Executing the example requires the ParallelCoordinates component named coord (see Example of Creating the ParallelCoordinates Component). Get width of the first axis in the chart:
// Get width of the first axis in the chart console.log("Width of the first axis in the chart: " + coord.getAxes()[0].getWidth());
After that the console shows width of the first axis in the chart:
Width of the first axis in the chart: 4
See also: