aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Capturing the X & Y values in a mousemoved event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

Capturing the X & Y values in a mousemoved event

Meghna ks
Ranch Hand

Joined: Mar 15, 2001
Posts: 122
Hi
I've designed a JChart(Line chart) and defined a mousemoved event for the chart. I need to capture the X & Y values of the chart in the mousemoved event. Right now, I'm able to get the X & Y values of the actual container, but not the chart X & Y values. How do I do this ?!!
Secondly, How do I set the minimum & max values for the graph.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Please don't post similar msgs more than once.
You can re-surrect the older one, in case you
want to bring it to the attn of others.
I would like to close this msg in view of your
other post on Chart problem, but then I though
I would first hear from you if its okay...
thanks for your cooperation.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Meghna ks
Ranch Hand

Joined: Mar 15, 2001
Posts: 122
That's fine by me.
Meghna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Capturing the X & Y values in a mousemoved event