Subject: | chxr min/max rounded a bit too much |
I found my line graphs with URI::GoogleChart 1.02 to be quite inaccurate, and traced this to line
395:
$_ = sprintf "%.2g", $_;
In one example, this resulted in "chxr=1,3e+03,3.2e+03" when the actual min/max range
calculated by URI::GoogleChart was 3020..3160. Changing the line above to the following
solved the problem:
$_ = sprintf "%.5g", $_;
Running perl v5.8.8, i386-freebsd-64int on FreeBSD 6.4-RELEASE-p3. Thanks!