Open
Description
I am trying to add the chartjs-plugin-datalabels plugin to my charts and I think I've figured out how to add it.
I've created a minimal case here.
The problem is that I get this error:
chartjs-plugin-datalabels.js?a9be:155 Uncaught TypeError: Cannot read property 'x' of null
at orient (chartjs-plugin-datalabels.js?a9be:155)
at Object.fallback (chartjs-plugin-datalabels.js?a9be:379)
at coordinates (chartjs-plugin-datalabels.js?a9be:847)
at Object.draw (chartjs-plugin-datalabels.js?a9be:1011)
at Object.afterDatasetsDraw (chartjs-plugin-datalabels.js?a9be:1330)
at Object.notify (coreui-vue-chartjs.common.js?f485:10882)
at Chart.drawDatasets (coreui-vue-chartjs.common.js?f485:12767)
at Chart.draw (coreui-vue-chartjs.common.js?f485:12695)
at Chart.render (coreui-vue-chartjs.common.js?f485:12649)
at Object.callback (coreui-vue-chartjs.common.js?f485:5071)
I did some research and found this but I can't figure out how to implement it. There are also suggestions of downgrading to a 2.7.x version of chartjs but I think I'd have to rebuild coreui/vue-chartjs to even attempt that.
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels