Page 1 of 1

ViewXY: mouse down on chart area

Posted: Thu Aug 14, 2014 8:33 pm
by greggorob64
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!

Re: ViewXY: mouse down on chart area

Posted: Thu Aug 14, 2014 9:17 pm
by ArctionPasi
Use chart.MouseDown and get the graph rectangle with ViewXY.GetMarginsRect(). Test if your mouse coordinate is inside it.

Re: ViewXY: mouse down on chart area

Posted: Mon Aug 18, 2014 2:06 pm
by greggorob64
Thanks.