Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fcecconi
Partner - Creator III
Partner - Creator III

change persistent colors

Hello

I have changed the colors of my bar charts, but when I click on the persistent color options, my colors get over written,  How do I change the persistent colors to use the colors I want?

thanks

Frank

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can create the color code in the script, like Henric demonstrates here

Colors in charts

View solution in original post

8 Replies
miguelbraga
Partner - Specialist III
Partner - Specialist III

Hi Frank,

Did you considered using Multicolored on your chart? That way you can have the colors that you want. Hope it helped

Regards,

MB

fcecconi
Partner - Creator III
Partner - Creator III
Author

This is what my color options are:

Options.png

And then my chart looks like this

Chart.png

miguelbraga
Partner - Specialist III
Partner - Specialist III

Did you try to uncheck only the Persistent Colors?

swuehl
MVP
MVP

You can create the color code in the script, like Henric demonstrates here

Colors in charts

fcecconi
Partner - Creator III
Partner - Creator III
Author

Yes and the colors appear as defined by my variables, but they change as I drill down

miguelbraga
Partner - Specialist III
Partner - Specialist III

What is your expressions you've defined in your color settings? Can you share a qvw sample so that we can take a look?

I suspect the change in the colors is inside those expressions that I've asked about.

fcecconi
Partner - Creator III
Partner - Creator III
Author

I have the following in a spreadsheet RGB(255,255,204) and assign it to a variable.  Then I am using $(variable name).  The right color is appearing as shown above, but not on the chart with persistent colors enabled.

fcecconi
Partner - Creator III
Partner - Creator III
Author

thanks.  this worked for me