Call to `getXDomain` requires targets.

Error can be reproduced here:
http://jsfiddle.net/mikwat/bt8u9fh9/1/