ChartDirector 7.0 (Python Edition)

Axis.setColors


Usage

setColors(axisColor [, labelColor [, titleColor [, tickColor ]]])

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.

Arguments

ArgumentDefaultDescription
axisColor(Mandatory)The color of the axis itself.
labelColorTextColorThe color of the axis labels.
titleColor-1The color of the axis title. -1 means the axis title color is the same as the axis label color.
tickColor-1The color of the axis ticks. -1 means the axis ticks color is the same as the axis color.

Return Value

None