๐:3
Chart.js V3 has some major breaking changes, please read the migration guide for these: https://www.chartjs.org/docs/master/getting-started/v3-migration.html
For your problem you need to remove the arrays and define each scale in the scales object with the id as the key