I have chart with Multiple series. Inside MouseMove eventHandler of TeeChart, How to find the series index on which mouse pointer is placed?
Regards,
Priya
Find out Series index on Teechart MouseMove event
-
- Newbie
- Posts: 18
- Joined: Tue Sep 04, 2007 12:00 am
Hi Anil Kumar!
We propose the following code for find your index series:
}
Best Regards
Sandra Pazos
Steema Support Central
http://support.steema.com
We propose the following code for find your index series:
Code: Select all
private void tChart1_MouseMove(object sender, MouseEventArgs e)
{
for(int i=0; i<tChart1.Series.Count;++i)
{
int tmp = tChart1.Series[i].Clicked(e.X, e.Y);
if (tmp != -1)
{
tChart1.Header.Text = "Series: " + i.ToString() + " Point: " + tmp.ToString();
}
}
Best Regards
Sandra Pazos
Steema Support Central
http://support.steema.com