chartjs / chartjs/chartjs-plugin-zoom

How to limit the maximum zoom (time chart X)?

Open
#920 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
623
Forks
331
Avg merge
7h 5m
Merged PRs (30d)
7

Description

I have a line chart on the X timeline. The segment is 30 days. But the zoom can be more than a day. I need at least 7 days. How can I set this limit?

Contributor guide

Open the contributing guide

Research direction

Start with the plugin's zoom configuration and the Chart.js time-scale setup for the line chart. Determine how to express a seven-day minimum zoom span on the X axis, then document the setting and verify it with a 30-day chart.

Written by the indexing model from the issue text.

Assessment

Tech stack
chart.js, javascript
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.