coreui/coreui-react-chartjs

How to always show labels on charts?

Souvikray opened this issue · 0 comments

I am trying to show labels on charts which should always be visible. I learned about charts-datalabels plugin which works with regular chartjs as well as react-chartjs. But since I am using CoreUI React chartjs, I believe there is a wrapper around react-chartjs by CoreUI because of which it doesn't work for my case. (I see no errors but also no labels)
Another possible reason could be it requires chartjs version to be at least 2.7 while in CoreUI React, it uses @coreui/chartjs@2.0.0 Is this another possible reason?

So is there any way where we can integrate plugins into CoreUI charts or at least a way to always show labels when the chart is displayed?

I am using Free React.js Admin Template version 3.2.1