Hello,
I've got one problem. I am working with JasperReports now and i need to "flip" the chart created there. It is based on JFreeChast as far as I know. So my question : Is there any possibility to make a chart like this (specifically in this orientation) :
http://imgur.com/KrVQjzD
Thanks for any help!
Timeseries XY Rotated Plot.
Re: Timeseries XY Rotated Plot.
You can invert the domain axis:
And you can display the range axis on the right side:
That should do the trick.
Code: Select all
ValueAxis ax = xyplot.getDomainAxis();
ax.setInverted(true);
Code: Select all
xyplot.setRangeAxisLocation(AxisLocation.TOP_OR_RIGHT);