creativetimofficial / black-dashboard

MIT License
345 stars 318 forks source link

Changing Chart Data #27

Open khubaibakhter opened 4 years ago

craigprobus commented 1 year ago

Charts require me to use Chart.js and the xAxis and yAxis styling does not work Invalid scale configuration for scale: yAxes Invalid scale configuration for scale: xAxes

I am forced to use import { Chart } from 'chart.js/auto'; in order to avoid the error: Canvas is already in use. Chart with ID '0' must be destroyed before the canvas with ID '' can be reused.

Disappointing, as the whole point of buying this style from Creative-Tim was the cool looking chart, which now looks like any other chart.js