Hi,
I would like to determine which check box the user clicked. OnClickLegend only gives the X,Y coordinates.
How can I determine for which series he clicked the check box ?
Thanks and best regards
Kenny
How to determine which check box the user clicked ?
Hi Kenny,
you can do something like this :
Josep Lluis Jorge
http://support.steema.com
you can do something like this :
Code: Select all
Private Sub Form_Load()
With TChart1
.AddSeries scLine
.AddSeries scLine
.Series(0).FillSampleValues (10)
.Series(1).FillSampleValues (10)
.Legend.CheckBoxes = True
End With
End Sub
Private Sub TChart1_OnBeforeDrawSeries()
If TChart1.Series(0).Active = False Then
MsgBox ("Series1 is not Actived")
End If
End Sub
http://support.steema.com