ChartDirector 7.1 (.NET Edition)

Axis.syncScale


Usage

[C#]public void syncScale(Axis axis [, double slope [, double intercept ]]);
[VB]Public Sub syncScale(axis As Axis [, slope As Double [, intercept As Double ]])

Description

Synchronizes the scale of this axis with another axis using a linear formula.

The scale of this axis (value) will be related to the scale of the source axis (value2) using the following formula:

value = value2 * slope + intercept

The differences between syncScale and Axis.syncAxis are:

Arguments

ArgumentDefaultDescription
axis(Mandatory)The axis to synchronize to. A value of null means not to synchronize to any axis.
slope1The slope for synchronizing this axis to the other axis.
intercept0The intercept parameter for synchronizing this axis to the other axis.

Return Value

None