ChartDirector 5.1 (.NET Edition)

PlotArea.setGridColor


Usage

[VB] Public Sub setGridColor(hGridColor As Integer [, vGridColor As Integer [, minorHGridColor As Integer [, minorVGridColor As Integer ]]])
[C#] public void setGridColor(int hGridColor [, int vGridColor [, int minorHGridColor [, int minorVGridColor ]]]);

Description

Sets the horizontal and vertical grid colors of the plot area.

Arguments

ArgumentDefaultDescription
hGridColor(Mandatory)The color for the horizontal grid lines associated with major ticks.
vGridColorTransparentThe color for the vertical grid lines associated with major ticks.
minorHGridColor-1The color for the horizontal grid lines associated with minor ticks. -1 means the color is the same as hGridColor.
minorVGridColor-1The color for the vertical grid lines associated with minor ticks. -1 means the color is the same as vGridColor.

Return Value

None