Cannot get data labels to display on a pie chart

0

I am trying to get my data labels to display on a pie chart but I am unable to do so.

I have tried both 

plotOptions.series.dataLabels.enabled = true

And

plotOptions.pie.series.dataLabels.enabled = true

They do not work on a pie chart however, once I change it to a bar chart you can see the labels.

Has anyone else had this problem?

brian.berrelez's picture
Joined: May 9 2017 - 7:31am
Last seen: 3 years 6 months ago

3 Answers:

0

Maybe try Boolean.FALSE or Boolean.TRUE

H Mendoza's picture
361
Joined: Feb 20 2013 - 11:39am
Last seen: 2 years 1 month ago
0

Try just:

series.dataLabels.enabled = true

You could also change the format of the label to include the percentage of the pie:

series.dataLabels.format =  {series.name} {point.percentage:.1f}%

pplaydon's picture
Joined: May 8 2017 - 11:18am
Last seen: 3 months 1 week ago
0

 

this functionality is also available for version 6.13. I'm trying to find to change my label and I'm not finding

Attachments: 
AttachmentSize
Image icon capturar.png36.75 KB
luizgustavo-fl's picture
Joined: Nov 18 2019 - 3:45pm
Last seen: 10 months 2 days ago
Feedback
randomness