The question was about something else.
I need to display the minimum set of candles on the X axis. To do this, I zoomed in on X.
And while scrolling along the X axis, I need a dynamic, not fixed, zoom on Y.
To display only the visible range. Unfortunately all runtime properties for this are not public.