[C#] | public int yScaleColor(double[] colorStops [, Axis yAxis ]); |
[VB] | Public Function yScaleColor(colorStops As Double() [, yAxis As Axis ]) As Integer |
ChartDirector 7.1 (.NET Edition)
XYChart.
Usage
[C#] | public int yScaleColor(double[] colorStops [, Axis yAxis ]); |
[VB] | Public Function yScaleColor(colorStops As Double() [, yAxis As Axis ]) As Integer |
Description
Arguments
Argument | Default | Description |
---|---|---|
colorStops | (Mandatory) | An array that defines the mapping from data values to colors. Please refer to ColorAxis.setColorScale for the format of this array. |
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