Two tone colours in chart.js pie chart

0๐Ÿ‘

โœ…

I just looked at the JS Fiddle and replacing the Chart JS script links worked for me. I used version 2.7.0 instead of 2.4.0 from CDNJS.

Iโ€™m not sure you need both the libraries either. Just using https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.bundle.min.js should be enough.

Hope this helps.

Leave a comment