public SeriesEventHandler ClickSeries
Remarks
A ClickSeries event occurs whenever the user clicks onto any TChart Series point. The Sender parameter specifies the TChart class that originated the event. The Series parameter is the corresponding clicked Series class, and the ValueIndex parameter refers to the exact clicked point in the Series. Series have also a Click event that can be used individually to catch clicked points. The Button, Shift, X and Y parameters determine the mouse button and mouse cursor coordinates at the time the Series point was clicked.
Example
[C#]
This event procedure shows the user at which series point (any drawn part of series) they have clicked.
private void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, System.Windows.Forms.MouseEventArgs e)
{
MessageBox.Show("Clicked Series: " + s.TitleOrName() + " at point: " + valueIndex.ToString());
}
See Also
TChart Class | TChart Members | Steema.TeeChart Namespace