How to set the visibility of Qlik object dynamically?
I have 2 buttons ("Inspection Risk" and "Inspection Year"), 2 charts ("Inspection Risk Chart" and "Inspection Year Chart") and one geoanalytics map in my Qlik mashup.
When I load mashup initially then only one chart default "Initially Risk Chart" should display along with geo analytics map. But if user wish to see "Inspection Year" chart then user can click on "Inspection Year" button.
Question here is that how can I dynamically load these chart on user demands?
What I have tried:
I created 2 html <div> section. In one section I have loaded Risk chart and in other Year chart. Initially I am showing Risk chart only and Year chart is hidden. When user clicks on Year chart button then I am showing Year chart.
But problem here is chart will only display when div is visible. For hidden container chart won't get display.