c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.33k stars 1.39k forks source link

Donut chart is not closed. #2807

Open haizenbergD opened 3 years ago

haizenbergD commented 3 years ago

There is an issue with donut chart. It becomes not closed if some items in the data are zero and positive values, and zero one comes after positive.

Config that is working as expected (no white lines) `var chart = c3.generate({ data: { columns: [ ['data1', 0], ['data2', 30], ], type : 'donut', },

});`

Config that is NOT working as expected (white lines) ` var chart = c3.generate({ data: { columns: [ ['data1', 30], ['data2', 0], ], type : 'donut', },

}); `

Please let me know if any additional information needed.