From d385e6ba4727b26c7e659f302544a1a8e117e76a Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Mon, 8 Aug 2011 00:30:51 +0100 Subject: fix broken significant figures on y-axis --- jarmon/jarmon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3