Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
April 9th: The AI Roadmap: 6 Landmarks for AI-ready Data and Analytics: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Maximise text object through a 'Set Variable' Action

I have a text object which i would want to be maximised on clicking the text object.  How can i implement this through the Actions properties with a variable say named 'vMaxPlot'.

Regards

1 Solution

Accepted Solutions
paul_vans267
Partner - Contributor II
Partner - Contributor II

Hi there,

You could create a variable (for example v_Show)

On the action tab of the text object you wish to maximise - select the Set Variable action and set the value of this variable to 1

Clone the text object and again on the action tab, select the Set Variable action and set it to 0

On both of these text objects set the layout to conditional based on that variable.  For example, the minimised would be v_Show = 0 and the maximised would be v_Show = 1.

See the attached example.  I have created a variable called v_Show and set its value on both of the text objects.

Hope this helps

View solution in original post

14 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

You can use a macro to maximize/restore a sheet object - or you can use two objects. Clone the first and maximize  it. Then use conditional show based on vMaxPlot to display one or the other.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Chanty4u
MVP
MVP

chk dis

Anonymous
Not applicable
Author

Hi Jonathan

Thank you very much for your response.  May be my question is not clear.  What i want is if i click on the Text Object, it will increase in size to maximum.  If i click the Text Object again, it will get minimised.

Regards

tresesco
MVP
MVP

May be using qv feature, like:

Enable Caption (Caption tab->Show Caption) for the text object and check 'Allow Maximize', 'Allow Minimize'. User could maximize/minimize it at will - and it's object feature without any hassle.

Chanty4u
MVP
MVP

orelse caption tab  u will hve default options to chk dese

Anonymous
Not applicable
Author

Hi Suresh, thank you for  contribution.  The example posted is static, if i click on it nothing happens. 

Chanty4u
MVP
MVP

yes.. ihve tried on chart frst i didnt chkd on text objct.

Anonymous
Not applicable
Author

What i want to achieve is illustrated in the QV Predictive analysis demo attached.  If one clicks the decision tree under the 'Risk of Mortality Plots' it gets maximised and on a second click it gets minimised

Anonymous
Not applicable
Author

Thanks Tresesco, kindly refer to my recent posts above