Category: | Bug report |
Priority: | Urgent |
Status: | Feedback Requested |
Project: | Severity: | Critical |
Resolution: | Fixed |
|
Component: | Reproducibility: | Always |
Assigned to: |
When a bar chart is created and previewed with eye.candy.sixties theme the legend is showing all the colors with respective items but when it is downloaded the legends first colour is missing. Please check
10 Comments:
Attached the report for better understanding
Hi,
the attached sample pdf does not contain any chart. Please post the jrxml sample along with a pdf that contains the chart, if possible.
Thank you,
Sanda
Oops Sorry shertage. I will be attaching the right pdf doc and the jrxml file as well now
This is the jrxml file.
Thank you, now it's all clear. Do you see this issue also when the report is exported to other formats, such as HTML, DOCX or PPTX?
In case the issue appears in PDF only, it might be related to gradient colors used in eye.candy.sixties theme, which are not always properly exported with iText library when chart render type = draw. There are 2 workarounds here:
- Use eye.candy.sixties theme with chart render type = svg or image only
or
- Use chart themes with simple colors (such as aegean or default) with chart render type = draw, svg or image
Please let us know if these workarounds solve the problem for you.
Thank you,
Sanda
Hi, I know that when I change the renederer to svg it works and it actually did work and this issue is not observed when it is exported to other types. But, for this I have to include some extra dependencies in my maven project which increases the size of the war.