ChartDirector Ver 4.1 (ColdFusion Edition)

Axis.setTickOffset


Usage

setTickOffset(offset)

Description

Shifts the position of the ticks along the axis.

By default, ChartDirector draws the ticks at the label position. This method is typically used to shift the ticks so that the ticks are between two labels, rather than aligned with the label.

The offset is specified as a value on the axis scale. For a label based axis (configured using Axis.setLabels), shifting with an offset of 0.5 means shifting half the label interval. This will achieve the effect of putting the ticks in between the labels.

Arguments

ArgumentDefaultDescription
offset(Mandatory)The distance to shift the ticks along the axis as a value on the axis scale.

Return Value

None