[Chartjs]-ChartJS: Invalid scale configuration for scale: xAxes

13👍

You are using V3 of chart.js while using V2 syntax for all of your options.

For example, the tooltip and legend should be configured in the plugin’s namespace.

For the error you are getting, in v3 all scales are their own object in the scales object so no more separate arrays for the x and y axes.

For all changes please read the migration guide:

3.x Migration Guide

Leave a comment