Browse Source

Call to `getXDomain` requires targets.

Error can be reproduced here:
http://jsfiddle.net/mikwat/bt8u9fh9/1/
pull/500/head
Michael Watts 11 years ago
parent
commit
597b879325
  1. 2
      c3.js

2
c3.js

@ -3069,7 +3069,7 @@
// Set default extent if defined
if (__axis_x_default) {
brush.extent(typeof __axis_x_default !== 'function' ? __axis_x_default : __axis_x_default(getXDomain()));
brush.extent(typeof __axis_x_default !== 'function' ? __axis_x_default : __axis_x_default(getXDomain(c3.data.targets)));
}
// Add Axis

Loading…
Cancel
Save