Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

siempreboricua5
New Contributor

How do you define the X-axis font color for bar charts?

Dear community members, I am new to this board, so forgive me if this is a dumb question:

I am using Qlik Sense 3.2 SR2 (cloud version) and we have designed bar charts that have X-axis scales that seem to change color dynamically.  At times it displays as a dark grey and at other times is seems to display as bold black.  Our users use these charts for customer facing reports and the colors need to stay constant.

I attached a screen capture just in case.

Thank you.

1 Reply
alakshmanan
New Contributor III

Re: How do you define the X-axis font color for bar charts?

Hi Hernan,

The colors can be made to remain constant. You have to go to "Appearance" --> "Colors and Legend" --> Choose "By Expression" --> Enter the condition for fixing the colors for your dimesions (see sample code below):

if(dimension = 'First_Value', blue,

     if(dimension = 'Second_Value', black, green))

Hope this helps!

Happy Qlik-ing!

Community Browser