Commit 42d96f4d authored by Evgeny's avatar Evgeny

Fix updateAngle

parent 8b7e640e
...@@ -41,6 +41,9 @@ c3_chart_internal_fn.updateAngle = function (d) { ...@@ -41,6 +41,9 @@ c3_chart_internal_fn.updateAngle = function (d) {
} }
index++; index++;
}); });
if(!d){
return;
}
if (isNaN(d.endAngle)) { if (isNaN(d.endAngle)) {
d.endAngle = d.startAngle; d.endAngle = d.startAngle;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment