This patch provides the ability to use LineChart Ranges in iReport plus JasperReports itself.
It is a patch done against 1.2.7 releases (!).
It does ONLY work in combination. I commit the patch first in this Tracker, not in the JasperReports-Tracker.
One thing is, that you have to contribute some additional attributes to the jasperreport.dtd.
The neccessary part of the file is shown below:
<!ELEMENT axisFormat (labelFont?, tickLabelFont?)>
labelColor CDATA #IMPLIED
tickLabelColor CDATA #IMPLIED
tickLabelMask CDATA #IMPLIED
axisLineColor CDATA #IMPLIED
axisScaleLower CDATA #IMPLIED
axisScaleUpper CDATA #IMPLIED
New are the attributes "axisScaleLower" and "axisScaleUpper".
The patch is currently an alpha version. :-)
Feel free to contact me.
I had problems when unpacking the 1.2.7 distribution regarding the package location of ReportWriter.java and ReportReader.java. Maybe someone else must fix this to be 100% correct!
And this is the diff - patch for JasperReports itself...