In Rickshaw.Graph.js
var yMax = this.graph.max || d3.max( values )
In Rickshaw.Graph.Renderer.js
var yMax = this.graph.max || d3.max( values )
Basically:
0 || undefined -> undefined, so any 0 arg gets set to undefined, in the first line noted.
then undefined || anything -> anything. so you always end up witjh d3.max( values ) if you set max to zero
zero is interperated as undefined ("auto")
The offending lines in 1.1.2 are:
In Rickshaw.Graph.js var yMax = this.graph.max || d3.max( values )
In Rickshaw.Graph.Renderer.js var yMax = this.graph.max || d3.max( values )
Basically: 0 || undefined -> undefined, so any 0 arg gets set to undefined, in the first line noted. then undefined || anything -> anything. so you always end up witjh d3.max( values ) if you set max to zero