I'm using JFreechart to plot a graph inside a report generated with JasperReports
(actually I'm using DynamicReports which uses JasperReports).
I'm plotting a barchart
and I want to have custom strings on the labels on the axis. A picture will explain everything better.
Now I've got this:
I want to obtain this:
Some suggestions?
Here is the solution to your problem. You need to provide a new Axis with text for each value
here is the code in full