From 1a1faf9affb4f0fcb3b85ab743b7465cfbd24828 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Thu, 19 Feb 2015 19:21:21 +0000 Subject: [PATCH] GH-1007 typo causes isCategorized to fail 'categor' should be 'category' Fixes #1007 Signed-off-by: Gordon Smith --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index fb446bb..26dd262 100644 --- a/c3.js +++ b/c3.js @@ -717,7 +717,7 @@ return this.config.axis_x_type === 'timeseries'; }; c3_chart_internal_fn.isCategorized = function () { - return this.config.axis_x_type.indexOf('categor') >= 0; + return this.config.axis_x_type.indexOf('category') >= 0; }; c3_chart_internal_fn.isCustomX = function () { var $$ = this, config = $$.config;