SciChart.Charting Assembly > SciChart.Charting.Visuals.Axes Namespace > AxisBase Class > DrawGridLines Method : DrawGridLines(IRenderContext2D,IPen2D,XyDirection,Single) Method
The SciChart.Drawing.Common.IRenderContext2D instance to draw to
The pen (TargetType SciChart.Drawing.Common.IPen2D) to apply to the grid line
The X or Y direction to draw the
The integer coordinate to draw at. If direction is SciChart.Charting.XyDirection.XDirection, the coodinate is an X-coordinate, else it is a Y-coordinate
DrawGridLines(IRenderContext2D,IPen2D,XyDirection,Single) Method
Draws a single grid line on the RenderSurface, using the specified Style (TargetType System.Windows.Shapes.Line), SciChart.Charting.XyDirection and integer coordinate.
Syntax
protected virtual void DrawGridLines( 
   IRenderContext2D renderContext,
   IPen2D linePen,
   XyDirection direction,
   float atPoint
)

Parameters

renderContext
The SciChart.Drawing.Common.IRenderContext2D instance to draw to
linePen
The pen (TargetType SciChart.Drawing.Common.IPen2D) to apply to the grid line
direction
The X or Y direction to draw the
atPoint
The integer coordinate to draw at. If direction is SciChart.Charting.XyDirection.XDirection, the coodinate is an X-coordinate, else it is a Y-coordinate
Remarks
If direction is SciChart.Charting.XyDirection.XDirection, the coodinate is an X-coordinate, else it is a Y-coordinate
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also