plotly / plotly/plotly.R

Hover text do not show up if values does not exist in BOTH facet category

オープン
#693 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

ggplotly
主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

Hover text exists in blue block

image

Hover text does not exist in either green or torquise block
image

Can't share the source data but what's happening is something like below:
Facility,ProductSubFamily,Measure,Qty
A,x,Commit,0.2
A,y,Request,0.9
A,d,Commit,0.8
A,d,Request,0.5
A,e,Commit,0.7
A,e,Request,0.3
...

        ggplot(data = dat,aes(x=Measure ,y=Quantity,fill = ProductSubFamily)) +
        geom_bar(stat = 'identity')+
        facet_grid(.~Facility,  space = "free", labeller = label_value,switch = 'both')+
        theme_bw()+
        theme(
          panel.grid.major.x = element_blank(),
          panel.border = element_blank(),
          legend.position='bottom',
          legend.title=element_blank(),
          axis.text.x=element_text(angle=30, hjust=1)
        )+
        scale_y_continuous(labels = percent)

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

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

はじめの一歩

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

調査の方向性

まず、同等の facet データを使って提供された ggplot の例を再現し、1 つの facet カテゴリで値が欠落している緑とターコイズのブロックに注目します。facet 化された棒の hover テキストをインタラクティブなグラフがどのように導出しているかを追跡します。青いブロックと同じように、これらのブロックでも hover テキストが一貫して表示されれば完了です。

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

評価

技術スタック
r
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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