ChartDirector 6.2 (.NET Edition)

Layer.setBaseLine


Usage

[C#] public void setBaseLine(double baseLine);
[VB] Public Sub setBaseLine(baseLine As Double)

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