MouseEnter Event

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
HKPC
Newbie
Newbie
Posts: 3
Joined: Fri Nov 14, 2003 5:00 am

MouseEnter Event

Post by HKPC » Fri Apr 21, 2006 1:52 am

There is a MouseEnter Event in the Series Class, can I get the series's valueIndex by making use of this event? Thx

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Apr 21, 2006 8:44 am

Hi HKPC,

You can use TeeChart's MouseMove event and the series clicked method doing something like this:

Code: Select all

    private void tChart1_MouseMove(object sender, MouseEventArgs e)
    {
      int valueIndex = line1.Clicked(e.X,e.Y);

      if (valueIndex != -1)
      {
        //Your code here
      }
    }
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply