Hello, can you please modify line 897 in AbstractXYItemRenderer.java from
band = new Rectangle2D.Double(Math.min(x1, x2), dataArea.getMinY(),
Math.abs(x2 - x1), dataArea.getWidth());
to
band = new Rectangle2D.Double(Math.min(x1, x2), dataArea.getMinY(),
Math.abs(x2 - x1), dataArea.getHeight());
Code correction
-
- Posts: 2
- Joined: Thu Dec 12, 2013 10:46 am
- antibot: No, of course not.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Code correction
Thanks for the report. I've committed the fix for the upcoming 1.0.18 release, and also merged it to the JFreeChart-FSE repo at GitHub.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

