01-18-2013 09:21 PM
I have a curve display in a XY graph, that is simple.
But
My customer want one or tree rectangle display in this graph also, these rectangle can be drag, Zoom, such as below pic,
the problem is how to use mouse control these Rect, Drag to move, Drag corner to Zoom. thanks a lot
02-15-2013 12:51 AM
Hi,
First learn how to plot your rectangles (several segments).
Then use a structure event with XYGraph => mouse down to check when user begin the drag
Use the same structure event with XYGraph => mouse move to update your graph during movement.
Best Regards