dumptyd / vue-css-donut-chart

Lightweight Vue component for drawing pure CSS donut charts
https://dumptyd.github.io/vue-css-donut-chart/
MIT License
128 stars 19 forks source link

Fix issue with extra donut-section for the last item in sections #23

Closed frados closed 4 years ago

frados commented 4 years ago

Sometimes consumedWithCurrent=180.00000000003 because of floating-point problems. It causes an issue with the redundant line on the bottom of the chart

dumptyd commented 4 years ago

Thanks for creating the PR!

It causes an issue with the redundant line on the bottom of the chart

Could you please document how to reproduce this so I could see what issue this is fixing?

frados commented 4 years ago

Could you please document how to reproduce this so I could see what issue this is fixing?

You can reproduce it on https://dumptyd.github.io/vue-css-donut-chart/ Please use - Size: 201px and values: 33, 33, 33, 1 Screen Shot 2019-11-21 at 16 48 47

dumptyd commented 4 years ago

I will be releasing this in 1.2.0 with some other changes.