I can’t get my primary and secondary Y-axsis gridlines to match.
http://jsfiddle.net/koen_demonie/b9vnhmet/
Both have the same amount of gridlines (ie ratio),
primary
min = 1, max= 101, interval = 10
range => max – min => 101 – 1 = 100
gridline count (ratio) = range/interval = 10
secondary
min = 0, max= 200, interval = 20
range => max – min => 200 – 0 = 200
gridline count (ratio) = range/interval => 200/20 = 10
It seems to have something to do with the minimum/maximum…
Because, weird enough the first gridline of my primary y-axsis doesn’t start at 1 and end at 101.
When i use some other data the lines do match.
http://jsfiddle.net/koen_demonie/b9vnhmet/5