Negative XYPlot
-
- Posts: 2
- Joined: Mon Nov 10, 2014 3:05 pm
- antibot: No, of course not.
Negative XYPlot
How can I create an xyPlot, that scales the x axis from -0.1 .. to -1.1. Starts on the left side in x with -0.1 an ends on the right side in x with -1.1?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Negative XYPlot
You can just call the setInverted() method on the axis:
http://www.jfree.org/jfreechart/api/jav ... d-boolean-
http://www.jfree.org/jfreechart/api/jav ... d-boolean-
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- Posts: 2
- Joined: Mon Nov 10, 2014 3:05 pm
- antibot: No, of course not.
Re: Negative XYPlot
Thank you David, it works.