You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ChartJs v3.5.1 the Axis Range Settings min and max are advertised as being numbers, when they actually accept both numbers and date strings. See tests:
In ChartJs v3.5.1 the Axis Range Settings
min
andmax
are advertised as being numbers, when they actually accept both numbers and date strings. See tests:Chart.js/test/specs/scale.time.tests.js
Line 130 in 957ca83
Expected Behavior
The types to be defined as
number | string;
Current Behavior
Project does not compile unless I had TS workarounds
Possible Solution
Steps to Reproduce
Context
Im trying to use a date string to set the min and max values in a scale.
Environment
The text was updated successfully, but these errors were encountered: