Plot_ly sunburst restyle event puts sunburst in weird state
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r
調査の方向性
Issue にある plotlyProxyInvoke("restyle", ...) 呼び出しから始め、3 レベルの sunburst を leaf id まで restyling した後のナビゲーションを再現します。リーフノードの状態とクリック処理を追跡し、リーフビューをクリックすると親に戻って正しく再レンダリングできるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/plotly.R のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
-
save_image Error オープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
plotly/plotly.R の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
r-lib/pkgdepends#485 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
beginners blocker
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enviPathR オープンBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
Bioconductor/BiocContributions#207 · コメント 6 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
datacarpentry/semester-biology#1255 ·