ITChart.OnDrawLineToolSelectLine
ITChart
property OnDrawLineToolSelectLine: TNotifyEvent;
Type Library
TeeChartx
Description
The DrawLineToolSelectLine event is fired when a DrawLine Tool line has been selected.
Example [Visual Basic]:
Private Sub Form_Load()
With TChart1
.AddSeries scLine
.Series(0).FillSampleValues 10
.Tools.Add tcDrawLine
With .Tools.Items(0).asDrawLine
.Series = 0
End With
End With
End Sub
Private Sub TChart1_OnDrawLineToolDraggedLine()
Label1.Caption = "Line Dragged"
End Sub
Private Sub TChart1_OnDrawLineToolLineDrag()
Label1.Caption = "Line Drag"
End Sub
Private Sub TChart1_OnDrawLineToolNewLine()
Label1.Caption = "NewLine"
End Sub