You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
had to revert this for now since it breaks auto: false scales that implement e.g. scale.range: [0, 100].
there's quite a bit of nuance here. auto is intended to enable/disable the automatic data scanning to find limits. scale.range() must still be called if auto: false, but the fact that it gets fed back the exiting scale min/max and tries to auto-range from that on every redraw is problematic as it will cause continuous expansion. in the second part we may need to pass an additional flag into the scale.range() invocation to prevent it from thinking we're giving it data values that should be used for ranging...or some other strategy.
Currently, when I scale my x-axis only by dragging, my y-scale becomes invalid (essentially disappears).
In my options I have
and
My intent for this is for the plot to autoscale y when zooming full or changing data but not to autoscale when manually zooming.
I was able to get my desired outcome by adding extra checks against auto inside of
setScales()
specifically :on line 1213
and also on line 1277
Although there might be other places where this might need to be done also if this method makes sense.
The text was updated successfully, but these errors were encountered: