Skip to content

Commit

Permalink
update dist and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed Dec 25, 2019
1 parent 2841e6b commit 96fd038
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/charts.map.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/charts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core/pie.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function calcPiesPercent(pies) {
var percent = _ref5.percent;
return percent;
}));
data.slice(-1)[0].percent = 100 - percentSumNoLast;
data.slice(-1)[0].percent = parseFloat((100 - percentSumNoLast).toFixed(percentToFixed));
});
return pies;
}
Expand Down

0 comments on commit 96fd038

Please sign in to comment.