Expose getGraph2D, X and Y in jsNMR