Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Show and Hide a Chart using a button

Anybody knows how can I hide and show a chart using a button.

Thxs,

1 Solution

Accepted Solutions
jeremy_fourman
Creator
Creator

You assign a value to a variable that contains the condition you wish to evaluate.

Button Properties Actions->Add Action->External Set Variable

Then within the chart properties Layout tab -> Show -> Conditional, you write an expression and check the value of the variable.

Hope that helps.

View solution in original post

6 Replies
Not applicable

This uses a variable instead of a button, but it may be helpful. If you want a button you could always launch a macro as an action and have your macro show/hide the graph.

MayilVahanan

Hi

     Try like attached file

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
alec1982
Specialist II
Specialist II
Author

That's excactly what I want but i couldn't find out how did you do it.

I see one action on the button and nothing related to it on the chart.

may you please explain it to me.

Thanks for your help.

jeremy_fourman
Creator
Creator

You assign a value to a variable that contains the condition you wish to evaluate.

Button Properties Actions->Add Action->External Set Variable

Then within the chart properties Layout tab -> Show -> Conditional, you write an expression and check the value of the variable.

Hope that helps.

MayilVahanan

Hi

     In chart properties -> layout -> conditional

     in conditional , used the variable name..

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable