c3js / c3

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

Add padAngle option for pie/donut #2669

Closed panthony closed 5 years ago

panthony commented 5 years ago

This PR adds:

It supersede #1921 and closes #1920

I was not quite sure how to expose the API, should we duplicate under both donut & pie key? Something else?

codecov-io commented 5 years ago

Codecov Report

Merging #2669 into master will increase coverage by 0.16%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2669      +/-   ##
==========================================
+ Coverage   80.13%   80.29%   +0.16%     
==========================================
  Files          57       59       +2     
  Lines        4520     4538      +18     
==========================================
+ Hits         3622     3644      +22     
+ Misses        898      894       -4
Impacted Files Coverage Δ
src/config.js 95.83% <ø> (ø) :arrow_up:
src/api.donut.js 100% <100%> (ø)
src/api.pie.js 100% <100%> (ø)
src/arc.js 75.17% <100%> (+1.21%) :arrow_up:
src/api.chart.js 19.23% <0%> (+7.69%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a4c971c...d35ba77. Read the comment docs.