Is there a way to move domain?

Suppose I have one graph with domain [0,0.5] and another with [0.5, 1]. Within each graph,I can move axis labels, pan, zoom, etc with a mouse very nice. But how about the entirety of the xy plot? e.g. dynamically change the domains, to [0.25],[0.25,1]

Looking at the css, it seems like this is the component that I would want to trigger

rect class=“nsewdrag drag” data-subplot=“xy” x=“98.22” y=“200” width=“1026.3799999999999” height=“356.04” style=“pointer-events: all;” /rect

or maybe class= xy, xy1, etc.

If I type values by hand into the CSS then the graphs move up and down. But not obvious yet how to move the whole thing (including legends), at least without adding javascript.

If not possible, then I can add new elements “left-floor”, “right-floor” etc and have them triggerable in javascript, but seems like resetting the domain is something other people would have looked at?

Thanks, John

1 Like