ChartDirector Ver 4.1 (C++ Edition)

Axis.setColors


Usage

void setColors(int axisColor, int labelColor = TextColor, int titleColor = -1, int tickColor = -1);

Description

Sets the colors of the axis itself, axis label, axis title and axis ticks.

By default, the axis and axis ticks are drawn using the LineColor, while the axis label and axis title are drawn using the TextColor. You may use this method to change their colors.
SEO India | Search Engine Optimization Company India

Arguments

Argument Default Description
axisColor (Mandatory) The color of the axis itself.
labelColor TextColor The color of the axis labels.
titleColor -1 The color of the axis title. -1 means the axis title color is the same as the axis label color.
tickColor -1 The color of the axis ticks. -1 means the axis ticks color is the same as the axis color.

Return Value

None