Browse Source

Accept category as axis type

pull/294/head
Masayuki Tanaka 11 years ago
parent
commit
2e203fac84
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -328,7 +328,7 @@
clipPathForYAxis = getClipPath(clipIdForYAxis); clipPathForYAxis = getClipPath(clipIdForYAxis);
var isTimeSeries = (__axis_x_type === 'timeseries'), var isTimeSeries = (__axis_x_type === 'timeseries'),
isCategorized = (__axis_x_type === 'categorized'), isCategorized = (__axis_x_type.indexOf('categor') >= 0),
isCustomX = function () { return !isTimeSeries && (__data_x || notEmpty(__data_xs)); }; isCustomX = function () { return !isTimeSeries && (__data_x || notEmpty(__data_xs)); };
var dragStart = null, dragging = false, cancelClick = false, mouseover = false, transiting = false; var dragStart = null, dragging = false, cancelClick = false, mouseover = false, transiting = false;

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save