← Back to team overview

graphite-dev team mailing list archive

Re: [Branch ~graphite-dev/graphite/main] Rev 231: yLimit code was redundant with yMax, moved to API compatibility section

 

yMax and yLimit work differently. yMax will force a graph to always have the upper limit of yMax. yLimit will allow for an upper limit based on the data in the series and only takes effect when the series is greater than yLimit.

For example you have a series that normally stays around 100. Using yMax=1000 your graph is always pinned to 1000, even with the data is no where near this. With yLimit=1000 the graph will stay at its natural scale around 100 until the series breaches yLimit at which point the scaling is stopped at yLimit.


Follow ups