ChartDirector 5.1 (.NET Edition)

Axis.copyAxis


Usage

[VB] Public Sub copyAxis(axis As Axis)
[C#] public void copyAxis(Axis 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