plotly / plotly/react-plotly.js
When rendering two charts the layout properties of the second chart overwrites the first chart layout properties
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 138
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 4
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached ChartElement.txt and teste_chart.configuration.json, then reproduce the issue with two charts using the stated React, plotly.js, and react-plotly.js versions. Trace how each chart receives its layout properties and verify that changing the second chart no longer changes the first chart's layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100