A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Ceubex
- Posts: 4
- Joined: Mon Dec 27, 2010 2:03 pm
- antibot: No, of course not.
Post
by Ceubex » Mon Dec 27, 2010 2:11 pm
Hello,
I'd like to replicate the same function as that used for the automatic scaling of the vertical axis when done right click on the graph.
I already have the following code:
Code: Select all
ValueAxis axe2=xyplot.getRangeAxis();
axe2.configure();
But the effect is not the same as when I travel freely in the graph and I run my funciton, the graph does not focus on the curve. The zoom is to the right size but the wrong place
Can you help me?
Thank you in advance
-
skunk
- Posts: 1087
- Joined: Thu Jun 02, 2005 10:14 pm
- Location: Brisbane, Australia
Post
by skunk » Mon Dec 27, 2010 2:47 pm