Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Different font colors in a bar chart

Hello my QV friends.  I am wondering if it is possible change the colors for individual sections of a bar chart.  I am attaching a picture of my chart.  I want the font in the dark blue section to be white while leaving the font in the gold section as is.  Thank you Question.PNG.png

1 Solution

Accepted Solutions
maxgro
MVP
MVP

in text color of your expression you can add an expression and set the color depending on dimension value

pseudo-code

if(Dimension=DimensionValue,Green(),Black())

View solution in original post

2 Replies
maxgro
MVP
MVP

in text color of your expression you can add an expression and set the color depending on dimension value

pseudo-code

if(Dimension=DimensionValue,Green(),Black())

Anonymous
Not applicable
Author

Thanks Massimo.  I forget about the different options under expressions sometimes