I would like to customize a donut chart from c3.js for example the arc thickness.
Any help or pointers are greatly appreciated.
var chart = c3.generate({
data: {
columns: [
['Data1', 30],
['Data2', 50],
],
type : 'donut'
},
});
Example: http://jsfiddle.net/ktjhh5qr/1/
You can find an example here.
var chart = c3.generate({
data: {
columns: [
['bulls', 30],
['lakers', 50],
],
type : 'donut',
},
donut: { width: 100 }
})
Fiddle : http://jsfiddle.net/ktjhh5qr/2/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With