A discussion forum for JFreeChart (a 2D chart library for the Java platform).
- Posts: 2
- Joined: Fri Jan 21, 2005 9:56 am
- Location: Austria
Is it possible to autorange, or at least calculate the autorange for the numberaxis manually, after setting the domainaxis to a specific range?
I've used the sample code of the TimeSeriesDemo11.java
Code: Select all
SerialDate t6m = SerialDate.addMonths(-6, t);
Day sixMonthsAgo = new Day(t6m);
to set the range of my domain axis. However the autorange method still calculates the number axis range for all values in the dataset. Is it possible to calculate the minimum / maximum number axis values for the visible data points only? [/code]
- JFreeChart Project Leader
- Posts: 11732
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
Unfortunately not yet - it is something that desperately needs fixing.