g.raphael
g.raphael copied to clipboard
Inappropriate scale range chosen when graphing small numbers
When I create a line graph with small y values, the default axis range chosen by g.raphael is far too big.
Here's an example of the problem: http://dl.dropbox.com/u/9193041/g.raphael/scale.html
It looks like the inappropriate range is calculated in the snapEnds function. Here's a potential fix: http://dl.dropbox.com/u/9193041/g.raphael/patch.diff
I've only tried this patch out in Chrome on my plots.