0👍
I read about ChartNew.JS, that should contain the function you need (see the sample here: http://fvancop.github.io/ChartNew.js/). Haven’t used it myself yet but I think it could help you out!
- Chartjs-Zooming/blowup and panning option in chart.js on category scales
- Chartjs-ChartJS Arrays Acting as One Item
0👍
You could transform the data so that it adds up to 100. So if you had a pie chart for fruits and you had 6 oranges, 7 apples, 3 bananas. You would have 16 pieces of fruit total so make the segment for oranges = 6/16, apples = 7/16 and 3/16 bananas
Source:stackexchange.com