plotly / plotly/plotly.js

Sunburst leaf opacity does not apply to black text

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

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

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

説明

Description of the Issue

When you change the opacity of the leaf for a sunburst trace, text that is supposed to be black (based on the background color of the sector the text belongs to), it does not get affected by the opacity.

See the codepen here: https://codepen.io/Kully/pen/QWdyvJg

image

_Notice that all the text in the leaves of the chart move towards translucent as the opacity knob is turned, except for Cain.

This issue first came up in creating parity tests for the new icicle trace here #5546.

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

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

はじめの一歩

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

調査の方向性

リンクされた CodePen の動作を再現し、sunburst trace の leaf opacity とテキストカラーのレンダリングに注目してください。opacity の変化に伴って、leaf sector 内の黒いテキストが他の leaf label と一貫して半透明になり、icicle trace について記載されている parity case にリグレッションが発生しなければ、issue は完了です。

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

評価

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

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

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