[#770] - Patch for setting a Chart Range (currentlyLineChart only)

Category:
Bug report
Priority:
Normal
Status:
Assigned
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

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?)>
<!ATTLIST axisFormat
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.

Regards,

Thorsten

Note:
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!

yosh's picture
9
Joined: Jul 20 2006 - 3:56am
Last seen: 15 years 3 months ago

1 Comment:

#1

And this is the diff - patch for JasperReports itself...
(1.2.7)

Feedback
randomness