ChartDirector 6.0 (C++ Edition)

BaseMeter.setMeterColors


Usage

void setMeterColors(int axisColor, int labelColor = -1, int tickColor = -1);

Description

Sets the colors of the meter scale line, scale label and tick.

Arguments

ArgumentDefaultDescription
axisColor(Mandatory)The color for drawing the meter scale line. The default is LineColor.
labelColor-1The color for drawing the scale labels. Passing -1 in this argument means the label color is not changed. The default label color is TextColor.
tickColor-1The color for drawing the ticks. Passing -1 in this argument means the tick color is not changed. The default tick color is LineColor.

Return Value

None