[bug] ValueAxis.zoomRange(double, double)

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
GOLAN
Posts: 3
Joined: Mon Feb 07, 2011 10:42 am
antibot: No, of course not.

[bug] ValueAxis.zoomRange(double, double)

Post by GOLAN » Mon Feb 07, 2011 10:58 am

Hi, imho there is a bug in version: jfreechart-1.0.13
at: org.jfree.chart.axis.ValueAxis.zoomRange(double, double) method
at line (with sources for 1.0.13 - which are not exactly the sources from whom this version were built - imo)
1606 and 1610

the lower bound should not be counted using multiplying by length value.

With Best Regards,
GOLAN

ps: when using mouse scroll U have java heap space when max zoom out and IllegalArgumentException when max zoom in - so in case of taking care of this two exceptions i found this bug when implementing solution.
ps2: U may use another methods to scale axises.


"English is not my native language, so excuse me" - and i have a headache today : )

Locked