ChartDirector 5.1 (PHP Edition)

Axis.setDateScale2


Usage

setDateScale2(lowerLimit, upperLimit, labels)

Description

Sets the axis to use the given date scale and the given labels.

Arguments

ArgumentDefaultDescription
lowerLimit(Mandatory)The lower bound of the axis, representing using one of the ChartDirector supported date format.
upperLimit(Mandatory)The upper bound of the axis, representing using one of the ChartDirector supported date format.
labels(Mandatory)An array of text strings to be used as the labels on the axis. ChartDirector will distribute the labels evenly on the axis. By default, all labels are associated with major ticks. These can be modified by using '-' or '~' as the first character. Please refer to Axis.setLabels for details.

Return Value

None