Skip to content

zorder on overlayed subplots case of multiple traces in each subplot #7070

Closed
@stephprobst

Description

@stephprobst

The in plotly.js 2.34.0 introduced zorder property does not work as expected. The following chart demonstrates the issue:

https://codepen.io/Djeramon/pen/VwJPXGr

image

The orange line is drawn on top, but it should be drawn behind the green and red line.

The issue seems to be related to the traces being linked to different y-axes. Once the axes are being linked to the same y-axis, the bug disappears.

Metadata

Metadata

Assignees

Labels

P1needed for current cyclebugsomething brokencscustomer success

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions