Hello,
Thank you for your question. I am very sorry for the delay.
You are doing everything right:
- Disable legend box move from series title.
- Registration an event.
Then you can access to series from SeriesTitleMouseActionEventArgs that are already as a parameter. From that you can get all the information about clicked serie.
Code: Select all
private void LegendBox_SeriesTitleMouseClick(object sender, SeriesTitleMouseActionEventArgs e)
{
var series = e.Series as *YOUR SERIES TYPE*;
MessageBox.Show("Amount of points in serie: " + series.PointCount.ToString());
}