rendro/easy-pie-chart

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

timdockins opened this issue · 0 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.