Allow specifying transition time in sunburst charts
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
The transition time for sunburst charts is fixed at https://github.com/plotly/plotly.js/blob/1f36292b3e824ca4d073b5f9e1746ae5e2608e22/src/traces/sunburst/plot.js#L250 to 750 (from https://github.com/plotly/plotly.js/blob/1f36292b3e824ca4d073b5f9e1746ae5e2608e22/src/traces/sunburst/constants.js) which is quite long, can this become configurable somewhere?
Contributor guide
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 with src/traces/sunburst/plot.js at the transition logic and src/traces/sunburst/constants.js where the 750 duration is defined. Trace how sunburst configuration is represented, then determine where a transition-time option belongs. Done means the fixed duration can be configured for sunburst charts and the existing behavior remains intact when it is not specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100