T O P I C R E V I E W |
soundar |
Posted - 04 Nov 2008 : 21:36:29 I have a real-Time application in which I display the coordinates of a moving object. The object moves on a plate, for example, 100 cm x 100 cm. I draw the plate (3d frame object) and then draw a blob (filled circle) to represent the object. I also show the show the x and y axes. (Please see attached JPG file).
Now I want to add buttons to zoom in and out of the graph. *Not by using a mouse* (ChartZoom object) but when you click the zoom-in button the graph shows only the inner 50 x 50 area, when you click again show the inner most 40 x 40 area and so on... When the user clicks the zoom out button, the action is reversed.
How can I do this?
Thanks. |
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 04 Nov 2008 : 21:51:34 You re-scale the coordinate system based on what button is pressed. Our MiniScope example program does something very similar to what you describe. Study that example.
|
|
|