Chart.addXAxes Method

Adds primary X axes to the chart.
 

Parameters

axes

Type: Object
ElementType: ChartAxis
An axis or array of axes.
insertIndex

Type: Number (Integer)
(optional) An index in the xAxes array at which to insert the axis. If not specified, the series will be added to the end.
Optional: True

Return Value


Type: Number (Integer)
The new number of primary X axes.