chartjs / chartjs/chartjs-plugin-zoom
Feature Request: dynamic minRange/maxRange
- Dominant language
- JavaScript
- Stars
- 623
- Forks
- 331
- Avg merge
- 7h 5m
- Merged PRs (30d)
- 7
Description
Our data has different precision across different segments. Therefore, we need to determine the minRange based on the specific value. We hope this plugin can provide a callback function(like chart.js) that returns the minRange and maxRange based on the current yMax/yMin and xMax/xMin.
Contributor guide
Research direction
Start by locating the plugin's existing minRange/maxRange handling and reviewing how Chart.js callback options are defined. Determine how the callback should receive the current yMax/yMin and xMax/xMin, and consider how returned ranges interact with zoom and pan. Done means the documented callback behavior is implemented and covered by tests for segment-specific bounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100