add Y-axis autoscaling with X-axis range change
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
This is a common request.
I would expect when I zoom on the x-axis, in a linked plot configuration, the y-axis would scale to the selected/zoomed range.
Here are reports of users requesting this feature
- https://community.plotly.com/t/y-axis-autoscaling-with-x-range-sliders/10245
- https://community.plotly.com/t/simple-dash-app-yaxis-autoscale-on-xaxis-zoom-in-stock-market-plot/40463
- https://community.plotly.com/t/autoscale-y-axis-on-visible-data-with-range-selector/58207
- https://community.plotly.com/t/autoscale-y-axis-on-double-click-for-data-in-view/74537
- https://community.plotly.com/t/update-y-axis-domain-when-zoomed-on-x-axis/2073
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 by reproducing the issue in a linked plot configuration and zooming or changing the x-axis range. Review the linked community reports for expected behavior. Done means the y-axis automatically rescales to the data visible in the selected x-axis range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100