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

Сhanging the value of a variable by switching to a specific object

Hi, All

I need to solve  the following problem: Сhanging the value of a variable by switching to a  specific object - Chart.

I have container object with two chart object in it.

QlikView x64 Personal Edition - [D__Cloud Data Storage_OneDrive_QlikView Development_TA.qvw_] 2018-05-11 16.36.56.png

Also I have list object, which must be showing only then AKB-TO is activate

QlikView x64 Personal Edition - [D__Cloud Data Storage_OneDrive_QlikView Development_TA.qvw_] 2018-05-11 16.39.15.png

Question -  How i can changing the value of a variable by switching to a specific object

1 Solution

Accepted Solutions
jwjackso
Specialist III
Specialist III

Instead of using a container, use text boxes for the "AK6" and "AK6-TO" tabs.  In the text box actions, you can set a vShowChart variable to decide which chart to show. Overlay the charts on top of each other.  Set the chart conditional show expression based on the vShowChart value.  This variable can also be used to control if the list box is visible.

You can also set any other variable in the text box actions.

View solution in original post

3 Replies
vishsaggi
Champion III
Champion III

Can you share your app to look into if possible?

m_woolf
Master II
Master II

There is no more On Activate event for objects.

You might lay a transparent button over each chart header in the container object.

When the button is clicked, you can execute actions that select the chart and set a variable.

jwjackso
Specialist III
Specialist III

Instead of using a container, use text boxes for the "AK6" and "AK6-TO" tabs.  In the text box actions, you can set a vShowChart variable to decide which chart to show. Overlay the charts on top of each other.  Set the chart conditional show expression based on the vShowChart value.  This variable can also be used to control if the list box is visible.

You can also set any other variable in the text box actions.