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

How to show/hide an object based on the tab in a container

I have a container with two tab A and B. I want a chart to show up when tab A is shown but not tab B. Is there a way to do that? I saw some posts for using variable but not sure how to implement exactly.

Thanks

Zixiao

2 Replies
sunny_talwar

Container object doesn't give you the ability to set/change variables, but if instead of using container object, you use a look like format for two charts on top of each other and use buttons to flip between them you can set/change variables.

HTH

Best,

Sunny

Clever_Anjos
Employee
Employee

Not based on tab, but using buttons and variables

1) Create a variable

2) Create a button (or textbox) that assigns a value to that variable

3) At "Layout" tab of your graph, use "Show conditional" with an expression like v1 = 1

This strategy is much more flexible than using containers

PFA an example