0

Currently I Am displaying CheckBox in Legends.Is there any Event using which I can Find out on which Legend user have clicked.

Thanks Akshay

4

1 回答 1

1

是的,使用OnClickLegend事件,例如:

Private Sub TChart1_OnClickLegend(ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
    Me.Caption = "Clicked legend item: " & CStr(TChart1.Legend.Clicked(X, Y))
End Sub
于 2013-08-12T12:11:14.547 回答