Hi,
I have been trying to create custom reports from iReport (and with Jasper server too) but not been able to do so.
1. I understand that to make custom templates, one need to write some sort of code in java, which is less preferred, is there a way?
2. What exaxctly jrxml, jrctx, jrtx, .properties files do? Which all are minimum requirement for a chart (say bar chart)?
I am using a MySQL database.
thanks!
Edit:
- Also, in iReport, i dropped a chart template and passed on a result-set too, but it says empty chart and data passed doesn't reflect in charts.
2 Answers:
jrxml, jrctx,jrtx are the extensions.
.jrxmls : this extension is for the report created in ireport say
.jrctx : is extension for chart template
.jrtx : is for report template
The templates once can be designed and saved if they are supposed to be used multiple time for different reports
Thanks
Honey
Hi,
As you mentioned
" Also, in iReport, i dropped a chart template and passed on a result-set too, but it says empty chart and data passed doesn't reflect in charts."
Did you include a subdataset for the chart ?
And do mind the placement of the chart in the bands in the report.
Thanks,
Ankur