A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Anamneza
Post
by Anamneza » Mon Apr 22, 2002 8:08 am
There is a bug in com.jrefinery.chart.XYPlot drawHorizontalLines(...) and drawVerticalLines(...) methods.
At line g2.drawLine(...), data.getHeight() and data.getWidth() must be replaced with data.getMaxX() and data.getMaxY()
-
David Gilbert
Post
by David Gilbert » Mon Apr 22, 2002 8:18 am
Thanks for the report...I'll take a look.
Regards,
DG.
-
David Gilbert
Post
by David Gilbert » Tue Apr 23, 2002 6:48 am
OK, I have fixed the bug for the next version. The 0 should also be replaced with getMinX or getMinY as appropriate.
Regards,
DG.