chartjs-plugin-annotation
chartjs-plugin-annotation copied to clipboard
TypeScript: ScaleValue should accept `Date` object
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.