ChartDirector 7.0 (ASP/COM/VB Edition)

ColorAxis.getColor


Usage

getColor(z)

Description

Gets the color given the data value.

Note: You must call XYChart.layoutAxes, BaseChart.layout or XYChart.packPlotArea first before calling this method. ChartDirector needs to perform auto-scaling and layout the axis before it can compute the color.

Arguments

ArgumentDefaultDescription
z(Mandatory)The data value.

Return Value

The color that corresponds to the data value.