cancel
Showing results for 
Search instead for 
Did you mean: 

Gradient not drawn correctly in JRC 12.2.212

Former Member
0 Kudos

Hello,

I have JRC version 12.2.212 installed in the application, but when I try to generate from Java a rpt with a pie with color gradients, the result is a black rectangle being drawn behind the pie (and over some slices)

Link for the image : http://imageshack.us/photo/my-images/819/wrongpie.png/

If I remove the color gradients from the slices (and set them to normal colors), the drawing is OK, but I would need it to be OK with the gradients on too.

Is this a bug in JRC?

The former version of JRC that I used (11.8.4.1197) did not have this problem, but had several other major ones which makes it impossible for me to return to that version.

So is there any way to solve this?

Database used: Oracle 11g, if useful.

Thank you,

Alex

Edited by: alexpol on Oct 12, 2011 10:35 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

aasavaribhave
Advisor
Advisor
0 Kudos

this could be a possible bug in CRJ 12.2.212.x, if you can upload here a report with data ( make sure it contains no senstive information, as these are public forums) I can try to reproduce and track it for bug fix.

Former Member
0 Kudos

If i have data inside the report, i cannot remove the connection to the database unfortunately.

But it is easy to create such a report:

- create a new report

- add a connection to a database

- insert a simple SQL which brings 3 lines with two columns, e.g.:

select 'A' as col1, 1000 as col2 from dual

union all

select 'B' as col1, 4000 as col2 from dual

union all

select 'C' as col1, 5000 as col2 from dual

- insert a chart of type "Pie chart", on change of "col1", show value sum of "col2"

- change slices color to gradients (right click on slices, choose "Format Pie Slice" and there choose gradient)

- generate from Java

... and you should see the bug.

Please let me know if I can remove the connection and if there is any other way to make it easier for you to reproduce this bug.

Thank you,

Alex

PS: I am generating as PDF using printOutputController.export

Edited by: alexpol on Oct 13, 2011 9:05 AM

Former Member
0 Kudos

Hello Aasavari,

Any news on this issue? Did you manage to reproduce it? If not, please let me know.

Thanks,

Alex