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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

y-Axis of a chart colourful?

Hello Community,

is it possible to colour the y-axis of a Diagramm?

I want that some values for example 0-20 = yellow, 20-100 = green, -100 until 0 = red.

I added an example.

thanks for your help!

Best regards,

Aylin

5 Replies
sujeetsingh
Master III
Master III

Try setting the Axis color at Properties>>Axes>> and try using conditional coloringexpression

jagan
Partner - Champion III
Partner - Champion III

Hi,

It is not possible because you can only single color to axis, but one workaround is create an image of the axes and place on top of the axis in the chart, also you need to fix the X and Y axes Min and Max values in Axes tab.

Regards,

Jagan.

sujeetsingh
Master III
Master III

Jagan is right  i tried a lot but it seems you need to follow some visual tricks for this either go with image or just create lines with color transparent (means background color of Line object) but such tricks have limitations .

What when your axis grow?

Not applicable
Author

I tried this but it doesn't work:

(sum(Value)<20 and sum(Value)>0,green(),

if(sum(Value)<100 and sum(Value)>=20, yellow()))

Not applicable
Author

Thanks, this is an good idea. I will try this solution.