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
The zorder property changes the color of stacked line traces. The following code pens demonstrate the problem. The only change between the various charts is, that the zorder property has been added to the traces. This should not have any impact on the colouring, but it does.
Yes, this is clearly a bug. All of these traces have y=[1,1,1] so they should each get a height of 1 no matter what else is done.
It seems that setting zorder confuses them about which other traces they're stacked on - each trace gets the right total y values, so they definitely know at that point what's stacked below them, but then when it comes time to draw the fills they go to the wrong place.
Not meaning to hijack here but maybe this helps fixing the bug for good:
When I set zorder: 2 (or any value for that matter) to a single trace then all of my showline on all of the axes are gone. They reappear only if I set mirror: all but then the opposite side also appears.
The zorder property changes the color of stacked line traces. The following code pens demonstrate the problem. The only change between the various charts is, that the zorder property has been added to the traces. This should not have any impact on the colouring, but it does.
Stacked line traces (working / without zorder)
Stacked line traces (broken / zorder=1 on first trace)
Stacked line traces (broken / zorder on all traces)
The text was updated successfully, but these errors were encountered: