summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-08-08 00:30:51 +0100
committerRichard Wall <richard@largo>2011-08-08 00:30:51 +0100
commitd385e6ba4727b26c7e659f302544a1a8e117e76a (patch)
tree9da3596010cebddbb5619c5d69524901046d71da
parentf5a41be6416d67d4136ff42040380f88e9f6f945 (diff)
fix broken significant figures on y-axis
-rw-r--r--jarmon/jarmon.js2
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;
}