score:1

Accepted answer

I was able to do this by customizing 'dataLabels' attribute of 'plotOptions'. I added the following code in plotOptions :

plotOptions: {
        series: {
            stacking: 'percentage',
            pointWidth: 60,
            dataLabels: {
                enabled: true,
                format : '{series.name}',
                style : {
                    color: '#DCDCDC', 
                    fontSize: '15px', 
                    fontWeight: 'pointer', 
                    textOutline: '0px contrast'
                }
            }
        }
    },

-> format : '{series.name}' to be specific


Related Query

More Query from same tag