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

Function that returns a chart scale

Hi,

is there a function or any other way to return the scale of a chart?

My goal is to use it in another chart to set both of them at the same scale.

Thanks in advance.

11 Replies
Not applicable
Author

Thanks a lot John.

I don't even need to use a variable. Just put what John posted as the max scale expression and that's it.

johnw
Champion III
Champion III

You don't need a variable, but it might be worth considering if you're using the same expression to keep two different charts synchronized.  It would be easy for someone maintaining this later to only change one chart and not the other and break what you so carefully assembled.  If you put it in a variable, they're much less likely to break it, even if they don't know what you were doing.  They'll change the variable, and both charts will be correctly changed.