XYPieChart icon indicating copy to clipboard operation
XYPieChart copied to clipboard

How to turn off animation?

Open tommybananas opened this issue 10 years ago • 4 comments

Hey there,

I can't figure out how to turn off the animation for the pie charts. I'm loading them in a tableView and every time my cell gets re-rendered the animations fire, but I'd like to turn them off for subsequent loads.

When I remove the animation property, they animate, and when I set the animation time to 0 they don't show up.

Thanks

tommybananas avatar Dec 23 '14 01:12 tommybananas

Try setting it to 0.1 - it probably still animates but seems unnoticeable.

d3vtoolsmith avatar Jan 23 '15 17:01 d3vtoolsmith

@tommybananas Would you able to figure out how to stop the animation at all ?

AgarwalMilan avatar Oct 10 '15 07:10 AgarwalMilan

@AgarwalMilan I don't think so unfortunately

tommybananas avatar Oct 11 '15 00:10 tommybananas

@tommybananas I have switched to similar library named XYDoughnutChart which supports both animation and non animation rendering of chart. That's an elegant solution.

AgarwalMilan avatar Oct 13 '15 06:10 AgarwalMilan