Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Activate Object

I wanted a button that would hide/show charts. I figure the 'Activate Object' will do that for me but I don't know how to identify the object. How do I determine the unique identifier for the chart object I want to activate?

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The objectId can be found on the object properties General Tab, ObjectId field. However, Activate does not show/hide charts. Note also that Activate is obsolete in QV11.

If you want to show/hide charts, use the Conditional Show property on the object Layout tab. Usually we put a variable name there and then toggle the variable value between 0 (false) and -1 (true) to hide or show the object.

-Rob

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The objectId can be found on the object properties General Tab, ObjectId field. However, Activate does not show/hide charts. Note also that Activate is obsolete in QV11.

If you want to show/hide charts, use the Conditional Show property on the object Layout tab. Usually we put a variable name there and then toggle the variable value between 0 (false) and -1 (true) to hide or show the object.

-Rob

Not applicable
Author

@MonkeyHouse - what does your design entail? User choices for different graphs or you want to show graphs only if a certain event occurs.

For the prior you can use as Rob said the Conditional Show - maybe in conjunction with variables. For the latter you can maybe use Container Objects. I used it to replace dropdown choices where I had conditional shows on the charts - I found Container Objects to be a much more elegant solution. Note you'll need QV10 or higher to installed.