diff options
author | Richard Wall <richard@largo> | 2011-08-08 00:30:51 +0100 |
---|---|---|
committer | Richard Wall <richard@largo> | 2011-08-08 00:30:51 +0100 |
commit | d385e6ba4727b26c7e659f302544a1a8e117e76a (patch) | |
tree | 9da3596010cebddbb5619c5d69524901046d71da | |
parent | f5a41be6416d67d4136ff42040380f88e9f6f945 (diff) |
fix broken significant figures on y-axis
-rw-r--r-- | jarmon/jarmon.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 78ff7c1..65ebedc 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -657,7 +657,7 @@ jarmon.Chart = function(template, recipe, downloader) { } } - if(self.options.yaxis.tickDecimals !== null) { + if(typeof(self.options.yaxis.tickDecimals) === 'number') { decimalPlaces = self.options.yaxis.tickDecimals; } |