ChartDirector 7.0 (Java Edition)
Layer.setBaseLine
Usage
public void setBaseLine(double 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
Argument | Default | Description |
baseLine | (Mandatory) | The value of the base line. |
Return Value
None
© 2021 Advanced Software Engineering Limited. All rights reserved.