Option to limit price scale range
Author: clark800Created Jul 15, 2023Updated Feb 24, 2026
Labelsenhancement
I have a a set of baseline series that are always positive and I'd like to be able to zoom in on a narrow price range but don't want to allow the price scale to get into negative territory.
The ideal solution would be to have minimum and maximum options on the price scale that act like fixLeftEdge and fixRightEdge except that they are specified with a constant value instead of being based on the range of the data.
Source: tradingview/lightweight-charts