chartjs / chartjs/chartjs-plugin-zoom

ScaleRange Type works with Date, but type is wrong!

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

Description

Using with an adapter with moment-js, we convert dates for the chart to have some behaviors!

So the ScaleRange can accept dates directly, but the type doesn't allow you to do it!

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the ScaleRange type definition and the existing date-handling path, then use the project's type checks or tests to verify the accepted input. Done means the type accepts dates consistently with the runtime behavior described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.