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#]
private void WebChart1_ClickSeries(object sender, Steema.TeeChart.Series s, int valueIndex, System.EventArgs e)
{
Steema.TeeChart.Chart tChart=((WebChart)sender).Chart;
clickedX=s.CalcXPos(valueIndex);
clickedY=s.CalcYPos(valueIndex);
msgText="Series: "+tChart.Series.IndexOf(s).ToString()+"\n\rValue: "+s.YValues[valueIndex].ToString("#0.00");
}
See Also
WebChart Class | WebChart Members | Steema.TeeChart.Web Namespace