MindFusion.Charting Programmer's Guide

AxesChart.GridPen Property

See Also
 





Specifies the pen for drawing the chart grid.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public Pen GridPen { get; set; }

Visual Basic  Copy Code

Public Property GridPen As Pen

 Property Value

A MindFusion.Drawing.Pen object that represents the grid pen.

 Remarks

The GridPen is used for drawing the chart grid when the GridType is not GridType.None or GridType.Custom. The grid stripes are painted with GridBrush and AltGridBrush. You can have a grid that has only stripes and no lines are drawn. In this case, set GridPen to null.

To draw a border around the grid, use PlotAreaOutlinePen.

Default value for the GridPen is null, that is, no grid is drawn.

 See Also