Call to `getXDomain` requires targets.

Error can be reproduced here:
http://jsfiddle.net/mikwat/bt8u9fh9/1/
Fix for v0.3
Merge branch 'mikwat-master'