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

Dynamically show/hide y-axis - Combo Chart

Hi everyone,

I have a combo chart.

In it, I use a pick function for my line chart, do something if case 1, do nothing if case 2.

The problem is that if I am in case 2, I will still have my secondary Y-axis shown, even though I don't have a line chart.

My question is: Is it possible to dynamically hide and show my secondary Y-axis depending on if I am on case 1 or 2.

Thanks

Labels (3)
1 Solution

Accepted Solutions
Nicole-Smith

I don't think you could do it on the combo chart itself.  The only way I can think of doing it would be to make two objects and put each in a container and show/hide which one you want based on your case statement.

View solution in original post

2 Replies
Nicole-Smith

I don't think you could do it on the combo chart itself.  The only way I can think of doing it would be to make two objects and put each in a container and show/hide which one you want based on your case statement.

LCauch
Contributor III
Contributor III
Author

Hi, thank you for your reply

Yes that what I did at first. But I wanted to reduce the size of my app by merging some charts. 

I guess it is not possible... Thanks 🙂