does bubble contains point?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ido
Newbie
Newbie
Posts: 19
Joined: Thu Aug 31, 2006 12:00 am

does bubble contains point?

Post by ido » Wed Feb 04, 2009 2:40 pm

Hi,
i have an e.x and e.y coordinates from a mouse up event. how can i make sure the bubble contains this point? (mouse up was in bubble range)

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Wed Feb 04, 2009 2:53 pm

Hi idan,

I think that clicked method is what you are looking for:

Code: Select all

        void tChart1_MouseUp(object sender, MouseEventArgs e)
        {
            Text = bubble1.Clicked(e.X,e.Y) != -1 ? "Bubble!" : "";
        }
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply