Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anuhyak1
Creator
Creator

Change the scale on Y axis dynamically based on min and max expressions for line charts

I have Line chart which reports official values (Y Axis) based on Reporting year on (x Axis).
Below is the expression for eOfficial

Only({<[CRS Version]=, Flg_National={0}>} [Report Year Percent]).

I have two variables tAxis = 1 Traditional and tAxis =2 for varying. The yaxis in the line chart has to be changed dynamically based on the selection made in the variable

How to setup min and max expression for axis and this has to vary based on traditional and varying.

1 Reply
aruneshgupta
Contributor III
Contributor III

I think you can use GetCurrentSelections() to pass selected variable or field in the your min/max axis expression. 

Best Regards,

Arunesh