The GridLinesStyle type specifies the style to
show the control's grid lines. The
GridLineStyle
property indicates the style of the gridlines being displayed in the view if
the
DrawGridLines property is not zero.
The GridLinesStyle enumeration specifies the style for horizontal or/and
vertical gridlines in the control. The
DrawGridLines
property of the Chart object specifies whether the grid lines are shown in the
chart part of the control.
| | Name | Value | Description | |
| |
exGridLinesDot | 0
|
The control's gridlines are shown as dotted.
| |
| |
exGridLinesHDot4 | 1
|
The horizontal control's gridlines are shown as dotted.
| |
| |
exGridLinesVDot4 | 2
|
The vertical control's gridlines are shown as dotted.
| |
| |
exGridLinesDot4 | 3
|
The control's gridlines are shown as solid.
| |
| |
exGridLinesHDash | 4
|
The horizontal control's gridlines are shown as dashed.
| |
| |
exGridLinesVDash | 8
|
The vertical control's gridlines are shown as dashed.
| |
| |
exGridLinesDash | 12
|
The control's gridlines are shown as dashed.
| |
| |
exGridLinesHSolid | 16
|
The horizontal control's gridlines are shown as solid.
| |
| |
exGridLinesVSolid | 32
|
The vertical control's gridlines are shown as solid.
| |
| |
exGridLinesSolid | 48
|
The control's gridlines are shown as solid.
| |
| |
exGridLinesBehind | 256
|
The control's vertical gridlines are shown behind bars. This option has effect
for the chart area only, so it has to be used by Chart.GridLineStyle
property. For instance, Chart.GridLineStyle = GridLinesStyleEnum.exGridLinesHSolid Or GridLinesStyleEnum.exGridLinesBehind
shows horizontal gridlines as solid, and the vertical gridlines shows behind the
bars.
| |
| |
exGridLinesGeometric | 512
|
The control's gridlines are drawn using a geometric pen. The exGridLinesGeometric flag can be combined with any other flag. A geometric pen can have any width and can have any of the attributes of a brush, such as dithers and patterns. A cosmetic pen can only be a single pixel wide and must be a solid color, but cosmetic pens are generally faster than geometric pens. The width of a geometric pen is always specified in world units. The width of a cosmetic pen is always 1.
| |