plotly / plotly/react-plotly.js

When rendering two charts the layout properties of the second chart overwrites the first chart layout properties

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

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

主要言語
JavaScript
スター
1.1k
フォーク
138
平均マージ
3日 2時間
マージ済み PR(30日)
4

説明

Only the layout properties set for the second chart overwrites the layout properties from the first chart, the data properties are fine:

"react": "18.2.0"
"plotly.js": "^2.33.0"
"react-plotly.js": "^2.6.0"

Image

console.log shows the properties correctly:

Image

teste_chart.configuration.json

Changes the .tsx to .txt to upload the component here:
ChartElement.txt

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず添付された ChartElement.txt と teste_chart.configuration.json を確認し、指定されたバージョンの React、plotly.js、react-plotly.js を使って 2 つのチャートで問題を再現します。各チャートがどのように layout プロパティを受け取るかを追跡し、2 つ目のチャートを変更しても 1 つ目のチャートの layout が変わらなくなっていることを確認します。

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

評価

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

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

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