maharg
Technical User
- Mar 21, 2002
- 184
Hi
I have built a simple css based charting system and I want to be able to drag the mouse over a certain area, get the beginning and ending X and Y co-ordinates, so that I can re-draw the graph for the selected region the mouse was dragged over.
All I need is the X and Y co ordinates when the button is pressed, before the drag, and the X and Y co-ordinates when the button is released, after the drag.
Any pointer on how to achieve this would be much appreciated.
Regards,
Graham
I have built a simple css based charting system and I want to be able to drag the mouse over a certain area, get the beginning and ending X and Y co-ordinates, so that I can re-draw the graph for the selected region the mouse was dragged over.
All I need is the X and Y co ordinates when the button is pressed, before the drag, and the X and Y co-ordinates when the button is released, after the drag.
Any pointer on how to achieve this would be much appreciated.
Regards,
Graham