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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Lakshman_1031
Partner - Contributor
Partner - Contributor

If chart is maximize then display the caption and minimize caption is hide

Hi All,

I have line chart and if maximize the chart then display the title and if minimize the chart then hide the title in the chart.

I have filter like category, if select any values in category then category value is displaying if maximize the chart and if minimize the chart then hide the category.

Please see the attached example for reference.

If possible please suggest me how to achieve this scenario.

 

Thanks & Regards, 

Lakshman

1 Reply
Brett_Bleess
Former Employee
Former Employee

Pretty sure that is going to require macro and API calls, so about the best I have is the API Guide QVW to let you know what APIs are available:

https://help.qlik.com/en-US/qlikview-developer/April2020/Subsystems/Automation/Content/QV_Automation...

Just note that with the Ajax client, you have to be very careful with macros as everything runs server-side, so it is quite likely you may run into problems getting things to work properly in many cases.  I would almost think it may be easier to have two different versions of your chart and use the show/hide condition expressions on them to control which one is shown, that may be the better workaround on this one potentially.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.