ValueAxis dragging question...

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
aselaneli
Posts: 6
Joined: Wed Dec 21, 2011 11:09 am
antibot: No, of course not.
Location: Colombo

ValueAxis dragging question...

Post by aselaneli » Tue Jan 24, 2012 11:24 am

Hi all,

I managed to drag a ValueAxis & set new range values while dragging it. I used setRange(double lower, double upper) for this one.
(the post viewtopic.php?f=3&t=109585 will put you into the correct context).

The image related to that post is in this link. http://www.flickr.com/photos/75065963@N ... /lightbox/

Now I have a new task where I should scale the ticks/values of the ValueAxis on mouse drag event and then scale/re-draw the trend upon mouse released event.

Is there a way to achieve this.? Any help is greatly appreciated.

Thanks in advance,
Asela.

Locked