Chartjs-Vue ChartKick Donut custom cutoutPercentage

2👍

chart kick allows you to pass the library options to the chart, using :library

<pie-chart :data="[['Blueberry', 44], ['Strawberry', 23]]" :donut="true" :library="{cutoutPercentage: 20}"></pie-chart>

https://codepen.io/BoyWithSilverWings/pen/YadXNO

Leave a comment