You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
When the chart is automatically adjusting the price scale min and max range values, this is called autoScale and what it is doing is automatically adjusting the scale to ensure that all the data fits within the chart.
You could also use the autoscaleInfoProvider option (which can be applied to any series via the series options) which allows to you customise the scaling. So if you used autoscaleInfoProvider on all the series, and made it return the minimum and maximum values which you would prefer then you could achieve the desired effect.
@SlicedSilver Thanks for the idea. My feature request might not have been clear enough that the limit is about how far the user can adjust the scale (by dragging on the axis or chart area). The autoscale settings don't limit this, so I don't think it will help in this case.
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
andmaximum
options on the price scale that act likefixLeftEdge
andfixRightEdge
except that they are specified with a constant value instead of being based on the range of the data.The text was updated successfully, but these errors were encountered: