Plot_ly sunburst restyle event puts sunburst in weird state
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- r
- Domínio
- data-visualization
Direção de pesquisa
Comece com a chamada plotlyProxyInvoke("restyle", ...) na issue e reproduza a navegação após aplicar restyling a um sunburst de três níveis até um leaf id. Rastreie o estado do nó folha e o tratamento de cliques; estará concluído quando clicar na visualização da folha puder navegar de volta ao elemento pai e renderizá-lo novamente de forma correta.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
I have a large sunburst it is laid out with three levels. I have implemented click events to synchronize other tables and charts as a user navigates the sunburst.
I am trying to implement a search box that takes the user directly to a node in the sunburst. I am using plotlyProxy and send the restyle
gotothis<-sbd %>% filter(labels==input$sunburstquery) %>% pull(ids)
sunburstproxy %>% plotlyProxyInvoke("restyle", list(level=gotothis))
In this case gotothis would be the id of the table that the sunburst was created from. In most cases this works in the desired method. If I restyle to one of the levels in the middle it draws the sunburst as if I had just clicked on that node. However, when the level is a leaf. It draws a single circle with that leaf in it no parents.
Which is fine I suppose, however when I try to navigate to the parent by clicking the circle as if it were the center circle, then it doesn't rerender the parent, though the click event is registered. To reiterate this works as expected when I restyle the level to the parent level. There doesn't appear to be anyway to rescue the state of the plotly sunburst after it is restyled to a leaf node.
- Linguagem predominante
- R
- Estrelas
- 2.7k
- Forks
- 641
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
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.R
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
-
save_image Error Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
Todas as issues de plotly/plotly.R
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
r-lib/pkgdepends#485 · 3 comentários ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
-
beginners blocker
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
enviPathR AbertaBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
Bioconductor/BiocContributions#207 · 6 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
datacarpentry/semester-biology#1255 ·