Chart for WPF and Silverlight / Chart Features / Axis / Grid Lines
In This Topic
Grid Lines
In This Topic

Grid lines are lines that appear perpendicular with major/minor tick marks at unit major/minor intervals. Grid lines can help improve the readability of the Chart when you are looking for exact values.

To paint or fill the major/minor grid lines

You can apply a color to major/minor grid lines using the MajorGridStroke/MinorGridStroke properties. A fill color can be applied in between each value of the major grid lines using the MajorGridFill properties.

To set the dash pattern for major/minor grid lines

You can set the dash pattern for major/minor grind lines using the MajorGridStrokeDashes/MinorGridStrokeDashes property.

To set the thickness for major/minor grid lines

You can specify the thickness for major/minor grid lines using the MajorGridStrokeThickness/MinorGridStrokeThickness properties.

To set the fill for major grid lines

You can apply a fill for the major gridlines using the MajorGridFill property.

See Also