XY Chart NET 3 Control Reference
DrawGridLines Event
This event is generated before any grid lines are drawn on the plot.  Use this event to underlay a graphic beneath the grid lines.
Syntax
[Visual Basic]
Event DrawGridLines(gCanvas As System.Drawing.Graphics)
[C#]
DrawGridLines(System.Drawing.Graphics gCanvas)
[C++]
DrawGridLines(System::Drawing::Graphics gCanvas)
       
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

Private Sub XYChartNETCtl1_DrawGridLines(ByVal gCanvas As System.Drawing.Graphics) Handles XyChartNETCtl1.DrawGridLines
   gCanvas.DrawString("This is a test", New Font("Arial", 12), New SolidBrush(Color.White), 100, 100)
End Sub
                       
                       
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.