Chartjs-Setting cutout value of ng2-chart doughnut

0👍

Add chart type to options to map correctly:

public doughnutChartOptions: ChartConfiguration<'doughnut'>['options'] = {
    cutout: '50%', // percentage of chart to cut out of the middle
    //cutout: 100, // pixels
...
};

Leave a comment