Page 1 of 1

MouseEnter Event

Posted: Fri Apr 21, 2006 1:52 am
by 8122786
There is a MouseEnter Event in the Series Class, can I get the series's valueIndex by making use of this event? Thx

Posted: Fri Apr 21, 2006 8:44 am
by narcis
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
      }
    }