Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Gartner® Magic Quadrant™: 15 YEARS A LEADER - GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional Show Based On Chart Maximized

Hi All,

I have a series of buttons and I want to hide / show them depending on which chart the user has maximized. So, let's say I have 3 charts minimized on one tab, and I have one button that corresponds with each chart. Is there a way that I can use the Conditional Show on the button to hide and show it depending on which chart is maximized?

Thanks!

2 Replies
Not applicable
Author

The simple answer is, not really. While you could set up a macro that populates a variable with the state (Minimized, etc) of a chart, it has been demonstrated to be not realiable. The reason for this is that there is no Event for when an item is minimized. Some people have tried using the OnActivate Event, but it doesn't work flawlessly.

Here is a good discussion from a previous thread on this forum: http://community.qlik.com/forums/t/16589.aspx. The end result from that discussion was to use buttons to Minimize and Maximize your charts and at the same time show or hide the respective buttons.

Not applicable
Author

I have a related question. I have a chart object with the conditional show property set. It seems that the chart is always displayed when minimized, i.e., the conditional show logic is not enforced. When I maximize the chart it disappears, assuming my conditional logic has been met. This is happening in the AJAX client, version 8.5. Is this a bug? Is there a way around it?

Thanks,

Jim