0👍
You can hack your way around it by using timeouts to change the values of the radius parts
if (!hover) {
hover = item[0];
for (let i = 0; i < 18; i++) {
setTimeout(() => {
hover.element.outerRadius++;
}, timeoutMS * i)
}
return;
}
Codepen with segment growth animated: https://codepen.io/leelenaleee/pen/bGWrMQx?editors=0110
- Chartjs-Dynamically change ChartJS Line Chart using Jquery
- Chartjs-Problem not showing proper datasets in dropdown list function
Source:stackexchange.com