plotly / plotly/plotly.js

Plotly waterfall with offset base: hovertext activated on hover at wrong position

オープン
#6,161 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

Recently, when using an offset (a non-zero base parameter) in a waterfall plot in plotly, I noticed that the boxes with hoverinfo were activated when the mouse pointer was in a completely wrong/unexpected place. I've submitted a question about this on StackOverflow, but realized it's quite likely that this is a bug, so I'm posting it here as well. Here's a link to my original post on SO, with a reproducible example: https://stackoverflow.com/q/71655326/3381005. I observed this behavior in the R version of Plotly, but I don't think it's R-specific, as I saw a similar post from a Python Dash Plotly user (sadly unanswered) here.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされた Stack Overflow の投稿にある waterfall の例を再現することから始め、関連する Plotly community の報告と比較してください。ゼロではないベースに対する waterfall の hover 動作を追跡してください。ポインターが対応するボックス上にある位置で hovertext が有効になり、offset ケースを対象とする回帰テストが含まれていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。