mykola-digtiar / chartjs-plugin-piechart-outlabels

Highly customizable Chart.js plugin that displays labels outside the pie/doughnut chart.
https://piechart-outlabels.netlify.com/sample/
MIT License
52 stars 39 forks source link

Clock wise or anti-clockwise draw animation #5

Open muthmano-dev opened 6 years ago

muthmano-dev commented 6 years ago

I'm currently unable to animate the drawing of the chart when I'm using this plugin which I was able to do with chartjs alone. This plugin option supported in chartjs is not working here: animation:{ animateRotate: true, render: false, }

Any way to overcome this?

glenn-barnett commented 6 years ago

In 0.1.4, I've found that if using type: 'outlabeledDoughnut', animation is forced to be scaled (and not rotated), with no way to disable or change.

If you use type: 'doughnut', you regain control of the animation, but you lose the handy zoomOutPercentage option.