ChartDirector 7.0 (PHP Edition)

Layer.setBaseLine


Usage

setBaseLine(baseLine)

Description

Sets the baseline for the data representation.

Certain data representation, such as bars in bar layers and area in area layers, are drawn from a base line. The base line by default is y = 0.

For example, for a vertical bar layer, the bars start from y = 0 and grow upwards for positive data (assuming the y-axis is not reversed), and downwards for negative data.

This method can be used to modify the base line to other values.

Arguments

ArgumentDefaultDescription
baseLine(Mandatory)The value of the base line.

Return Value

None