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

Chart properties and hiding object

Hi All

i have  two buttons and two charts  for first button1 should display chat1 and should hide chart2 .

on cliking Button2 it shoulds chart2 and hide chart1

Please find the screen shot.  how to perfom it

Capture.PNG

Thanks in advance

please share the screen shot i don't  have  license

1 Solution

Accepted Solutions
kristof_j
Creator III
Creator III

make a variable vShowChart

In the button properties go to Actions tab

Add a new external action 'set variable'

fill in

Go to the properties of your first chart and go to layout tab.

And fill in 'vShowChart = 'chart1' '

You can do the same for the second button and chart.

You can also make 1 button and switch between chart.

To do this you need to change the actions of the button to --> =if(vShowChart = 'chart1', 'chart2', 'chart1')

View solution in original post

2 Replies
kristof_j
Creator III
Creator III

make a variable vShowChart

In the button properties go to Actions tab

Add a new external action 'set variable'

fill in

Go to the properties of your first chart and go to layout tab.

And fill in 'vShowChart = 'chart1' '

You can do the same for the second button and chart.

You can also make 1 button and switch between chart.

To do this you need to change the actions of the button to --> =if(vShowChart = 'chart1', 'chart2', 'chart1')

susovan
Partner - Specialist
Partner - Specialist

Hi mahesh,

Its might be your requirement

Warm Regards,
Susovan