Hi
We are testing .net chart for our project.
I need when mouse over on marker, show some informations in line chart
firstly i added mouse event
nChartControl1.Controller.Tools.Add(new NClientMouseEventTool());
after bind data
l1.XValues.AddRange((from v in pDateExamples where v.CountryID == 1 select v.date).ToArray());
l2.XValues.AddRange((from v in pDateExamples where v.CountryID == 2 select v.date).ToArray());
l3.XValues.AddRange((from v in pDateExamples where v.CountryID == 3 select v.date).ToArray());
l1.Values.AddRange((from v in pDateExamples where v.CountryID == 1 select v.count).ToArray());
l2.Values.AddRange((from v in pDateExamples where v.CountryID == 2 select v.count).ToArray());
l3.Values.AddRange((from v in pDateExamples where v.CountryID == 3 select v.count).ToArray());
after i added this code for when mouse over on marker that show information
for (int i = 0; i < l1.XValues.Count; i++)
{
l1.InteractivityStyles.Add(i, new NInteractivityStyle((from v in context.TestTable2 where v.ID == 1 select v.Ulke).FirstOrDefault().ToString()));
l2.InteractivityStyles.Add(i, new NInteractivityStyle((from v in context.TestTable2 where v.ID == 2 select v.Ulke).FirstOrDefault().ToString()));
l3.InteractivityStyles.Add(i, new NInteractivityStyle((from v in context.TestTable2 where v.ID == 3 select v.Ulke).FirstOrDefault().ToString()));
}
My problem is
when mouse over on the line (not marker) , i see information.
But i need mouse over on only marker for show data.
What can i do ?
i will send you image that problem be understandable
thanx