ChartDirector 7.0 (Python Edition)

DiscreteHeatMapLayer.setDirectColoring


Usage

setDirectColoring([ b ])

Description

Sets whether the data values are the colors themselves or if a ColorAxis will be used to map the data values to colors.

By default, a ColorAxis will be used to map the data values to colors. The setDirectColoring method allows directly specifying the colors of the cells without going through the ColorAxis.

Arguments

ArgumentDefaultDescription
btrue (non-zero)A true (non-zero) value means the data values of the cells are their colors. A false (zero) value means a ColorAxis will be used to map the data values to colors.

Return Value

None