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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide and Show chart with buttons

Hi,

I'm working on a req. where i need to display the chart by selecting the button and hide the other chart.

I'm using buttons to activate the charts.

please help.

Please find the attached QVW file.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

create a variable vChart (possible values 1 2)

use the action in buttons to set the variable

     - first button set the variable 1, 2nd to 2

in layout tab of every chart use conditional show

     - first chart: show only when vChart = 1

     - 2nd when vChart = 2

1.png

View solution in original post

4 Replies
maxgro
MVP
MVP

see attached .qvw

Not applicable
Author

Hi Massimo Grossi,

I can see the variable u created "Vchart"

Can you please lemme know how are u linking it with the chart.

I wanna understand the methodology.

Help me.

maxgro
MVP
MVP

create a variable vChart (possible values 1 2)

use the action in buttons to set the variable

     - first button set the variable 1, 2nd to 2

in layout tab of every chart use conditional show

     - first chart: show only when vChart = 1

     - 2nd when vChart = 2

1.png

Not applicable
Author

Thank you very much Massimo.