Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript: ScaleValue should accept Date object #922

Open
tlserver opened this issue Jan 18, 2024 · 0 comments
Open

TypeScript: ScaleValue should accept Date object #922

tlserver opened this issue Jan 18, 2024 · 0 comments
Labels
enhancement types Typescript type changes

Comments

@tlserver
Copy link
Contributor

Currently, ScaleValue is defined as string | number, which is not compatible with the time axis. It should at least support the Date object, and ideally, it would also support other date objects listed at Chart.js Awesome.

@tlserver tlserver changed the title Typescript: ScaleValue should accept Date object TypeScript: ScaleValue should accept Date object Jan 18, 2024
@stockiNail stockiNail added types Typescript type changes enhancement labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement types Typescript type changes
Projects
None yet
Development

No branches or pull requests

2 participants