[BUG]: `axis.layer` / `axis.zerolinelayer`: `'above traces'` do not render above `scattergl` traces
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript
- Domínio
- data-visualization
Direção de pesquisa
Start by running the linked CodePen reproductions and tracing how scattergl rendering interacts with the Cartesian axis and zeroline layer settings. Done means zerolinelayer: 'above traces' visibly places the zeroline above scattergl markers, while the documented behavior remains correct for the line-chart example.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Description:
For Cartesian axes/subplots (for example, those containing scatter traces),
the reference documentation states that:
Parent: layout.xaxis
Type: enumerated , one of ( "above traces" | "below traces" )
Default: "above traces"
Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces withcliponaxisset to "false" to show markers and/or text nodes above this axis.
Parent: layout.xaxis
Type: enumerated , one of ( "above traces" | "below traces" )
Default: "below traces"
Sets the layer on which this zeroline is displayed. If "above traces", this zeroline is displayed above all the subplot's traces If "below traces", this zeroline is displayed below all the subplot's traces, but above the grid lines. Limitation: "zerolinelayer" currently has no effect if the "zorder" property is set on any trace.
However, this does not work for scattergl.
A WebGL marker remains visually above the zeroline (y = 0) even when:
yaxis: {
zerolinelayer: 'above traces'
}
is set.
Reproducible example:
https://codepen.io/Lexachoc/pen/xbqdWqm
https://codepen.io/Lexachoc/pen/EaWmLKY (line chart)
Relationship to cliponaxis:
This is separate from the feature request in #8074.
cliponaxis controls whether markers/text are clipped to the subplot's plotting area.
axis.layer / axis.zerolinelayer, on the other hand, control the stacking order of the axis / zeroline relative to traces.
Effect of axis.layer / axis.zerolinelayer: 'above traces':
Effect of axis.layer / axis.zerolinelayer: 'above traces' for line chart (the red line should not be seen):
Effect of cliponaxis: false:
- Linguagem predominante
- JavaScript
- Estrelas
- 18.3k
- Forks
- 2k
- Merge médio
- 1d 19h
- PRs com merge (30d)
- 21
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de plotly/plotly.js
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
chore P3 plotly-internal size: 3 task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
chore P1 plotly-internal size: 1 task
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
chore P3 plotly-internal size: 1 task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
plotly/plotly.js#7648 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de plotly/plotly.js
Issues semelhantes
-
curriculum documentation quality
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
githubnext/gh-aw-workshop#3897 ·
Mantenedores costumam responder em até 2 dias
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 91/100
Mantenedores costumam responder em até 1 dia
-
Add: RSV Honduras FeedAbertacheck:failed feeds:add
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
iptv-org/database#36179 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia