ChartDirector 7.1 (C++ Edition)
Layer.
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
threshold | (Mandatory) | The y value serving as the threshold for switching between two colors. |
belowColor | (Mandatory) | The color to use when the y-axis value of the pixel is smaller than the threshold. |
aboveColor | (Mandatory) | The color to use when the y-axis value of the pixel is greater than the threshold. |
yAxis | [Null] | The y-axis to use to determine the pixel coordinates of data values. The y-axis may be obtained using XYChart.yAxis, XYChart.yAxis2 or XYChart.addAxis. The default is to use the primary y-axis. For backward compatibility, the axis argument can also be a boolean value. A true value means the primary y-axis. A false value means the secondary y-axis. |
Return Value