-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mirrored axes have a huge bounding box #2434
Labels
bug
something broken
Comments
Really what we need to do is get rid of the |
Closed
This was referenced Dec 12, 2018
etpinard
added a commit
that referenced
this issue
Sep 4, 2019
... by registering a mirror-specific push-margin id. Note that to handle the 'all' and 'allticks', we use ax._counterDomain(Min|Max) added previously.
etpinard
added a commit
that referenced
this issue
Sep 4, 2019
... by registering a mirror-specific push-margin id. - Note that to handle the 'all' and 'allticks', we use ax._counterDomain(Min|Max) added previously. - both automargin-mirror* baselines are now correct
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
setting
mirror: 'allticks'
on an axis results in a giant bounding box for the axis, which causes problems with the newautomargin
flag on axes, and the positioning of the rangeslider. You can see this problem in action by settingautomargin
on any of the axes here (once we release 1.35.0) https://codepen.io/nicolaskruchten/pen/WMWvVzThis is due to the fact that the mirrored axis is drawn with the same path as the 'main' axis where the ticklabels are. It would make some sense to draw that secondary axis in a different element, so that the bounding box of the main axis is independent of the
mirror
attribute.The text was updated successfully, but these errors were encountered: