XY Chart NET 3 Control Reference > Events > DrawProfile Event |
[Visual Basic] Event DrawProfile(Index As Integer, gPlotCanvas As System.Drawing.Graphics) |
[C#] DrawProfile(int Index, System.Drawing.Graphics gPlotCanvas) |
[C++] DrawProfile(System::Int32 Index, System::Drawing::Graphics gPlotCanvas) |
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. Private Sub XYChartNETCtl1__DrawProfile(ByVal Index As Integer, ByVal gPlotCanvas As System.Drawing.Graphics) Handles XyChartNETCtl1.DrawProfile Dim myFont As New Font("Arial", 10, FontStyle.Bold) gPlotCanvas.DrawString("Profile " & CStr(Index), myFont, Brushes.Blue, XyChartNETCtl1.Width - 100, XyChartNETCtl1.Height - 100) End Sub