Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show/Hide Chart

Hello,

How do I go about Creating a Button to Expand/Hide Chart?

I've different chart with different names. ( Height , Weight , Age )

I created a button with action "set variable".

However, I'm not sure what to enter under "Variable" and "Values" .


I also understand that Under button properties > Layout , I've to set to conditional.

However,  I'm not sure what to enter as well.

Please guide me step-by-step.

Thank you so much!!!

4 Replies
Not applicable
Author

engishfaque
Specialist III
Specialist III

Dear Daphnegxy,

This article will help you a lot. Please check.

Hide/show an Object with button set variable

Kind regards,

Ishfaque Ahmed

Not applicable
Author

Hi,

for doing this create a variable called vShow and set to 1

now create a button and add an action to button, action will be set Variable and

   in Variable Put vShow

   and in value Put =if($(vShow)=1,0,1)

then go to that chart Properties->Layout->conditional Show and enter =vShow

also see this attached file

Hope this helps

 

Not applicable
Author

Can we create buttons in Qlik Sense?