hoverBackgroundColor not working in defaults in TypeScript
teodorachiosa opened this issue · 0 comments
teodorachiosa commented
Expected behavior
hoverBackgroundColor
should be supported, just like it works in JavaScript:
https://codepen.io/teodorachiosa/pen/rNXOZwz?editors=1010
Current behavior
Using hoverBackgroundColor
in TS, I'm getting this error:
Property 'hoverBackgroundColor' does not exist on type 'Defaults'. Did you mean 'backgroundColor'?
Reproducible sample
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.4
Browser name and version
Chrome 129.0.6668.59
Link to your project
No response