plotly / plotly/react-plotly.js
When rendering two charts the layout properties of the second chart overwrites the first chart layout properties
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 138
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 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"
console.log shows the properties correctly:
teste_chart.configuration.json
Changes the .tsx to .txt to upload the component here:
ChartElement.txt
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視附加的 ChartElement.txt 和 teste_chart.configuration.json,然後使用指定版本的 React、plotly.js 和 react-plotly.js,以兩個圖表重現問題。追蹤每個圖表如何接收其 layout 屬性,並確認變更第二個圖表後不會再改變第一個圖表的 layout。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- data-visualization, frontend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100