ChartDirector 7.0 (PHP Edition)

Axis.copyAxis


Usage

copyAxis(axis)

Description

Copies the scale and labels from another axis.

This method is typically used to ensure the axes on different charts are identical. For example, if multiple charts are draw and are stacked up, and you want the x-axes of the charts to be the same for easy comparison, you may copy the x-axis from one chart to the other charts.

The differences between copyAxis and Axis.syncAxis are:

Arguments

ArgumentDefaultDescription
axis(Mandatory)The axis to copy from.

Return Value

None