We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using a timescale then the data point for line/scatter can be of type String or Date.
However this is not accepted.
Pass in a iso time string
v4.4.0
v5.2.0
Broaden the type to accept String and Date. Not sure if it is possible to accept this only if the scale is of type time.
The text was updated successfully, but these errors were encountered:
oh...same issue
Sorry, something went wrong.
It's also possible to use Luxon's DateTime objects if https://github.com/chartjs/chartjs-adapter-luxon is used.
DateTime
No branches or pull requests
Would you like to work on a fix?
Current and expected behavior
When using a timescale then the data point for line/scatter can be of type String or Date.
However this is not accepted.
Reproduction
Pass in a iso time string
chart.js version
v4.4.0
vue-chartjs version
v5.2.0
Possible solution
Broaden the type to accept String and Date. Not sure if it is possible to accept this only if the scale is of type time.
The text was updated successfully, but these errors were encountered: