These are the lines that are drawn on the PlotArea to show the position of points which are placed away from the axis. ChartGrids can be drawn for both horizontal as well as vertical Axis.
Usage:
<vc:Chart ... >
<vc:Chart.AxesX>
<vc:Axis ...>
<vc:Axis.Grids>
<vc:ChartGrid .../>
</vc:Axis.Grids>
</vc:Axis>
</vc:Chart.AxesX>
<vc:Chart.AxesY>
<vc:Axis ...>
<vc:Axis.Grids>
<vc:ChartGrid .../>
</vc:Axis.Grids>
</vc:Axis>
</vc:Chart.AxesY>
</vc:Chart>
List of attributes:
|
Attribute |
Function |
|
Enables or disables the grid lines. | |
|
Sets the alternating color that will appear in the plot region. | |
|
Sets how frequently the grid lines must appear. | |
|
Sets the color of the grid line. | |
|
Sets the style for the grid line like "Dashed", "Dotted". | |
|
Sets the thickness of the grid line. | |
|
Opacity can be used to make any element transparent or opaque. |