[VB] | Public Function yZoneColor(threshold As Double, belowColor As Integer, aboveColor As Integer [, yAxis As Axis ]) As Integer |
[C#] | public int yZoneColor(double threshold, int belowColor, int aboveColor [, Axis yAxis ]); |
ChartDirector 5.1 (.NET Edition)
XYChart.yZoneColor
Usage
[VB] | Public Function yZoneColor(threshold As Double, belowColor As Integer, aboveColor As Integer [, yAxis As Axis ]) As Integer |
[C#] | public int yZoneColor(double threshold, int belowColor, int aboveColor [, Axis yAxis ]); |
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