Hi Rick,
This issue is not present in the 2015 release - we just tested with the following code and it was working OK:
private void Form1_Load(object sender, EventArgs e)
{
NChart chart = nChartControl1.Charts[0];
NBarSeries bar = new NBarSeries();
bar.Legend.Mode = SeriesLegendMode.DataPoints;
for (int i = 0; i < 10; i++)
{
bar.Values.Add(i);
}
chart.Series.Add(bar);
nChartControl1.MouseClick += new MouseEventHandler(nChartControl1_MouseClick);
}
void nChartControl1_MouseClick(object sender, MouseEventArgs e)
{
NHitTestResult result = nChartControl1.HitTest(e.X, e.Y);
if (result.ChartElement == ChartElement.LegendDataItem)
{
int index = result.LegendDataItemIndex;
}
}
Best Regards,
Nevron Support Team