Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
aaronnayan
Creator III
Creator III

Swap Charts with a button

Hi Guys

How would i swap a chart with a button

I have two charts but only want one displayed

How would i do this

Varibles are needed

1 Solution

Accepted Solutions
aaronnayan
Creator III
Creator III
Author

Create a variable

In Layout

First Chart

vChart=0

Second Chart

vChart=1

View solution in original post

4 Replies
antoniotiman
Master III
Master III

You can use Container Single Object

Regards,

Antonio

aaronnayan
Creator III
Creator III
Author

Sorry with a button

aaronnayan
Creator III
Creator III
Author

Create a variable

In Layout

First Chart

vChart=0

Second Chart

vChart=1

shun_wong
Partner - Contributor III
Partner - Contributor III

Hi Aaron,

If you are using the same Dimensions and Expressions, you can use the fast change option.

http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/FastTypeChange.htm

You can also use a container, and add both those charts into that one container, using its own created buttons to switch between the two.

Container Object ‒ QlikView

If its not what you need, you can create two charts, and create a variable (v_Show), to minimise it etc..

how to minimize one chart and place another chart by one click

gwassenaar‌ did a good qvw example to show this.

Hope this helps,

Shun