pavelkuligin / chart

Create the most popular types of charts by real or random data
MIT License
1.18k stars 63 forks source link

Donut and Pie Chart aren't displaying slices correctly #29

Closed reddolan closed 6 years ago

reddolan commented 6 years ago

Expected Behavior

chart slices should consume 100% of the radial area

image

Actual Behavior

chart slices are only taking a small portion of the radial area

image

Versions

Sketch: 51.2 Chart: 3.6.0

pavelkuligin commented 6 years ago

@reddolan You should use data in % and total should be 100%. In your example: 2+8+5+3+1 = 16 ≠ 100

reddolan commented 6 years ago

😓 doh! Thank you for pointing me in the right direction on this.