rendro / easy-pie-chart

easy pie chart is a lightweight plugin to draw simple, animated pie charts for single values

Home Page:http://rendro.github.io/easy-pie-chart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using easy-pie-chart inside another directive, data-percent NaN breaks animation

timdockins opened this issue · comments

If passing a variable through data-percent that doesn't get compiled before easypiechart does, then the first value for the chart is NaN and not parsable to Float. EasyPieChart.update should test newValue for isNaN before trying to pass it to renderer.animate.