-
-
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
Add zorder
attribute to control stacking order of SVG traces drawn into cartesian subplots
#6918
Conversation
@emilykl @Farkites plotly.js/src/plots/cartesian/index.js Line 477 in 4390b0d
So it looks like handling the case of overlayed axes in this PR is possible with some minor changes 🤞 |
The issue is that the |
It looks like for traces in overlayed subplots we could default |
What is the desirable behavior when hovering over overlapping points? Plotly.newPlot(gd, [{
zindex: 100,
marker: {size: 20},
y: [0, 1]
}, {
marker: {size: 20},
y: [0, 2]
}]); |
zorder
attribute to control stacking order of SVG traces drawn into cartesian subplots
What's new
zindex
to SVG Cartesian traceszindex
values are drawn in front of traces with lowerzindex
valuesCodepen
Screenshots:
TO DO: