ViewXY: mouse down on chart area

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

ViewXY: mouse down on chart area

Post by greggorob64 » Thu Aug 14, 2014 8:33 pm

I'd like a 'mouse down' event when the user clicks within the graphing area of my View XY chart. How I accomplish this? There's no 'mousedown' for my XY view.

Thanks!

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: ViewXY: mouse down on chart area

Post by ArctionPasi » Thu Aug 14, 2014 9:17 pm

Use chart.MouseDown and get the graph rectangle with ViewXY.GetMarginsRect(). Test if your mouse coordinate is inside it.
LightningChart Support Team, PT

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Re: ViewXY: mouse down on chart area

Post by greggorob64 » Mon Aug 18, 2014 2:06 pm

Thanks.

Post Reply