ChartDirector 6.0 (Ruby Edition)
XYChart.yZoneColor
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. |
Return Value