ChartDirector 7.1 (.NET Edition)

Axis.setLinearScale


Usage

[C#]public void setLinearScale(double lowerLimit, double upperLimit [, double majorTickInc [, double minorTickInc ]]);
[VB]Public Sub setLinearScale(lowerLimit As Double, upperLimit As Double [, majorTickInc As Double [, minorTickInc As Double ]])

Description

Sets the axis to use the given linear scale.

Arguments

ArgumentDefaultDescription
lowerLimit(Mandatory)The lower bound of the axis.
upperLimit(Mandatory)The upper bound of the axis.
majorTickInc0Adds major ticks to the axis, where the major ticks are separated by majorTickInc in value. Each major tick will have an associated text label for the value if the axis at the tick.

0 means the major ticks will be automatically determined. In this case, the lowerLimit and upperLimit may be automatically adjusted to align with the ticks.

Use NoValue to disable major ticks.
minorTickInc0Adds minor ticks to the axis, where the minor ticks are separated by minorTickInc in value. 0 means no minor tick is used.

Return Value

None