0👍
I am sure i am not giving the exact solution to your question. But i found Django Jet recently and i found it very interesting and easy to configure. With Jet, it is very easy to set a doughnut chart in the admin dashboard. Please ignore if you are not into it
- Chartjs-Chart.js line chart with unknown datasets
- Chartjs-Get x.getPixelForValue(i) in a chartjs plugin with a time type scale
Source:stackexchange.com