Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pie chart colors in a pixel perfect report

Hello!

Is there a way to mantain the colors of the pie chart of qvw in a pixel perfect report?

I have a pie chart with 10 values of the dimension, each of them has a specific colors: I would like these colors remain in the report (in the same order) even if filters reduce values.

Thanks

E

17 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Try enabling the Persistent colors options in the Color Tab.

girirajsinh
Creator III
Creator III

Is that option there in Nprinting too?

Anonymous
Not applicable
Author

I would need persistent colors in N Printing.. I don't know how to do this.

Is it possible?

avinashelite

This you need to code in the Qlikview . Go to expression tab , click on the + mark > background color and add any color expression for each diemsion value .

girirajsinh‌ , no we don't have that feature in Nprinting

Anonymous
Not applicable
Author

Yes I already do this but it doesn't work!

krishnacbe
Partner - Specialist III
Partner - Specialist III

Based on the Dimension value you need to Assign rgb() color. This should work.

eg:

If(Grade='A', Green(), red())

This expression works as where Grade is A it will be having green color and rest others in red.

Anonymous
Not applicable
Author

I write this if statement in expression as avinashelite suggested, but it doesn't work: where do I have to put it?

Thank you all!

krishnacbe
Partner - Specialist III
Partner - Specialist III

In Expression Tab, there will be a + sign near the expression label. if you expand it you can add the expression for background color.

avinashelite

could share the app ?