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: 
Not applicable

Button Actions:Bringing chart at the top


Hello,

My requirement is to place 3 charts over one another of exactly same size. Then, creating 3 different buttons respective to each chart.

If I click on any of them then that particular chart should come at the top and other charts should hide behind the active one. This will enable switching between charts.

I wonder if anybody could help writing this action for a button?

Note:- I cannot open QVD file in my version of qlikview as I am using trial version and it doesn't support qvd created by other users.

Kind Regards,

Varun

1 Solution

Accepted Solutions
Colin-Albert

You could put the 3 charts into a container.

View solution in original post

7 Replies
Not applicable
Author

Go to tab "actions"->add->Layout->activate Object

that should always put the object in front that you want.

regards,

MT

PradeepReddy
Specialist II
Specialist II

For each button,

Properties-->Action-->Add-->Layout-->Activate Object--> Ok

Here we need to provide the "Object ID", which we want to highlight.

Aplly  the same logic for  all 3 objects.

Thanks,Pradeep

Colin-Albert

You could put the 3 charts into a container.

alexandros17
Partner - Champion III
Partner - Champion III

The easiest way to obtain the result is working on hide/show properties:

1) Set 3 variables to 0 v1, v2, v3 (they will have values 0 or 1)

2) In the layout tab of the charts, in show go to conditional and write v1=1 (in the first object), it will disappear.

3) in the button when you press it trigger the external action to set the variable to 1 (v1=1) click the button and the chart will appear again

Do the same for others buttons

Hope it helps

Not applicable
Author

Thanks Pradeep,

But this action is just for activating/Highlighting a chart. It is not solving the purpose of bringing it to the top.

Regards,

Varun Singhal

Not applicable
Author

I was not aware of this option. This would solve my problem. Thanks Mr. Albert.

amita1621
Contributor III
Contributor III

Could you send me a example