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

How to show and hide by using mutiple buttons for the multiple charts

Hello anyone,

Can anyone please help me how to show and hide by using mutiple buttons for the multiple charts.

I have three buttons, if you click on one button one chart/container should appear, same for the rest of the buttons

Thanks in advance

1 Solution

Accepted Solutions
vikasmahajan

pfa sample

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.

View solution in original post

8 Replies
Not applicable
Author

Try this

You can create a variable say vShow for dat.

Write in action property of the button

eg. Set variable vShow=1

     Set Activate Object in which specify Object Id.

After this set Show property In layout tab of the object/chart.

Choose Conditional show and write Codition

eg.

If(vshow=1, 1, 0)

amit_saini
Master III
Master III

Hi Sreeharsha,

Please follow this link, lot's of discussion on this topic. There are so requirements  where people are looking for solution and in same way they got reply back from experts.

Hope this will help you.

http://community.qlik.com/search.jspa?q=show+hide+charts

Thanks,

AS

amit_saini
Master III
Master III

Hi Sreeharsha,

Please see the attachment.

Thanks,

AS

Not applicable
Author

Thanks AS,

I tried it, for single button it is fine, i wanted to show the multiple buttons associated with multiple charts, Can you please help into that.

Thanks

amit_saini
Master III
Master III

Sreeharsha,

You can do this with "N: number of charts. In my previous example just go to the chart properties---> layout and there you can see inside condition I;m calling a variable. In same manner you can create 2-3 variables depending upon ur requirement and set those variables inside different charts .

Visibility of charts you can handle by creating a single button. assign this button all these variables and set value 1 or 0 . and set same value in your charts and objects.

Thanks,

AS

amit_saini
Master III
Master III

Sreeharsha,

See the attachment .

Thanks,

AS

vikasmahajan

pfa sample

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

Hello Amit,

we can handle by single button, but if you have 10 charts at your dashboard, wanted to go for tenth chart by clicking once it is not possible, you need to click 10times on the same button if you see the 10th chart,

thats why i wanted to keep button for each chart.

Thanks