Browse Source

GH-1007 typo causes isCategorized to fail

'categor' should be 'category'

Fixes #1007

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
pull/1009/head
Gordon Smith 10 years ago
parent
commit
1a1faf9aff
  1. 2
      c3.js

2
c3.js

@ -717,7 +717,7 @@
return this.config.axis_x_type === 'timeseries'; return this.config.axis_x_type === 'timeseries';
}; };
c3_chart_internal_fn.isCategorized = function () { 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 () { c3_chart_internal_fn.isCustomX = function () {
var $$ = this, config = $$.config; var $$ = this, config = $$.config;

Loading…
Cancel
Save