chartjs / chartjs/chartjs-plugin-zoom

Feature Request: dynamic minRange/maxRange

Open
#944 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.