[Chartjs]-Draw chart.js with data from server

3👍

This is because it is invalid as the errors says, you are using V2 config with V3.

In V3 all scales are there own object in the scales object instead of 2 arrays.

Changing to:

scales: {
  y: {
     // Scale config
   }
}

Will remove the warning and make the config apply correctly

For all changes between V2 and V3 please read the migration guide

Leave a comment