Commit 597b8793 authored by Michael Watts's avatar Michael Watts

Call to `getXDomain` requires targets.

Error can be reproduced here: http://jsfiddle.net/mikwat/bt8u9fh9/1/
parent 0b2d4ec9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment