[Chartjs]-Plugins.legend.align are incompatible types typescript chartjs

2👍

Issue seems to be within the react-chartjs-2 lib.

If you switch to the barebone version of chart.js you wont have this issue:https://codesandbox.io/s/goofy-curie-eyxrr?file=/src/App.tsx

0👍

Try add as cons.

align: 'center' as const

Found this solution in their repo

Leave a comment