ChartDirector 6.0 (Perl Edition)
ColorAxis.setColorScale
Usage
Description
0.0, 0x0000ff, 50.0, 0xffff00, 100.0, 0xff0000
0.0, 0xff000, 50.0, 0x00ff00, 100.0
Arguments
Argument | Default | Description |
---|---|---|
colorStops | (Mandatory) | An array of numbers alternating between values and colors. If the number count is even, the array will define a continuous color scale, otherwise it will define a step color scale. |
underflowColor | -1 | The color to use if a value falls below the minimum value of the axis scale. -1 means the underflowColor is the same color at the minimum value. |
overflowColor | -1 | The color to use if a value exceeds the maximum value of the axis scale. -1 means the overflowColor is the same color at the maximum value. |
Return Value