ChartDirector 7.1 (C++ Edition)

DiscreteHeatMapLayer.setDirectColoring


Usage

void setDirectColoring(bool b = true);

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
btrueA true value means the data values of the cells are their colors. A false value means a ColorAxis will be used to map the data values to colors.

Return Value

None