0👍
found a plugin to do so :https://emn178.github.io/chartjs-plugin-labels/samples/demo/
public chartOptions: any = {
responsive: true,
plugins: {
labels: [
{
render: 'label',
arc: true,
fontSize: 14,
fontStyle: 'bold',
fontColor: '#000',
position: 'outside'
},
{
render: 'value',
fontSize: 14,
fontStyle: 'bold',
fontColor: '#000',
fontFamily: '"Lucida Console", Monaco, monospace'
}
]
},
};
Source:stackexchange.com