Version 6 seems to require registering scales, controllers and elements manually like this
Chart.register([CategoryScale, LinearScale, BarController, BarElement, LineController, LineElement, PointElement])
otherwise it'll show one error at a time until you register all necessary things
Here are the errors I've faced:
ERROR Error: "category" is not a registered scaleERROR Error: "linear" is not a registered scaleERROR Error: "bar" is not a registered controllerERROR Error: "bar" is not a registered elementERROR Error: "line" is not a registered controllerERROR Error: "line" is not a registered elementERROR Error: "point" is not a registered element
Version 6 seems to require registering scales, controllers and elements manually like this
Chart.register([CategoryScale, LinearScale, BarController, BarElement, LineController, LineElement, PointElement])
otherwise it'll show one error at a time until you register all necessary things
Here are the errors I've faced:
ERROR Error: "category" is not a registered scale
ERROR Error: "linear" is not a registered scale
ERROR Error: "bar" is not a registered controller
ERROR Error: "bar" is not a registered element
ERROR Error: "line" is not a registered controller
ERROR Error: "line" is not a registered element
ERROR Error: "point" is not a registered element