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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Assigning a chart variable question

     Hello,

I wanted to know if this was possible. I  have a scatter chart with some data and on the presentation tab I have set the max bubble size to 12pt, which is a good size for when there is no filters setup. I have also set up a button that filters some data but what I wanted to do is change the Max Bubble Size variable to 6pt. Is there a way to do this with some script? The chart object ID is called SChart01.

Thank you in advance for the help.

Roberto

1 Reply
avinashelite

Hi Roberto,

*First create a variable to set the bubble size like vBubbleSize and value=12.

*In the chart size expression use this variable .

*Then while setting up the button to filter some data , add a action >set variable > and set the value to 6 it will automatically update in the chart.

*After clearing filter add one more action to set the variable to 12