ChartGrid

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.

 

ChartGrid.JPG

 

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

AnimationEnabled

Enables or disables grid animation.

Enabled

Enables or disables the grid lines.

InterlacedColor

Sets the alternating color that will appear in the plot region.

Interval

Sets how frequently the grid lines must appear.

LineColor

Sets the color of the grid line.

LineStyle

Sets the style for the grid line like "Dashed", "Dotted".

LineThickness

Sets the thickness of the grid line.

Opacity

Opacity can be used to make any element transparent or opaque.