Run Report is different from preview in Jasper Studio?

0

Hello.

I'm having a problem in a report I'm trying to run. I have it perfectly as I want, and it displays correctly in the preview:

As it's possible to see, no errors (the lack of titles for the pie charts is intentional.
However, when I press right click the report unit and click "Run Report Unit", the report shows with errors, and some of the items don't even show. Obviously, the same happens when I try to view the report in JasperServer:

I'm using a base report for the background and black section on the left, and subreports for all the others.

Has this happened to anyone else, or does anyone know what the problem is and how to solve it?

I'm using Jasper Studio 6.6.0.

Thank you very much!

jvieitas's picture
Joined: May 23 2019 - 9:41am
Last seen: 3 weeks 7 hours ago

3 Answers:

0

Hello,

How does a PDF export look when you export it from Studio? Does it look correct or like your second screen shot? JRS can sometimes overwrite certain report properties. More on this issue can be found here:

https://community.jaspersoft.com/wiki/report-properties-are-not-working-report-or-dashboard

Thanks,

Paul

pjimenez_2's picture
2011
Joined: Oct 26 2016 - 11:39am
Last seen: 3 hours 59 min ago
0

Hello, Paul
Thank you for your answer, I'll check the link you provided.
When I export it to PDF, this is what I get:


It's a little bit better, but not by much, and it still doesn't fully work.

Thank you once again,
John

jvieitas's picture
Joined: May 23 2019 - 9:41am
Last seen: 3 weeks 7 hours ago
0

Just a small update.
Regarding the pie charts at the right, I managed to fix them because there was a parameter that wasn't being recognized. So I changed it in another place and it worked.
As for the bar charts, what I'm doing is changing the colors of the item labels to white. But even though they appear as white in the Properties, the chart doesn't seem to recognize this parameter, and shows the numbers in black. And it's not only the color, but also if the numbers are bolded or not. If I choose to bold them, them numbers don't appear bold.
I haven't overcome this problem yet...

jvieitas's picture
Joined: May 23 2019 - 9:41am
Last seen: 3 weeks 7 hours ago
Feedback
randomness