pablonolla
Posts: 21
Joined: Thu Sep 05, 2019 11:29 am

placing Legend and Label values together?

Hi there!

I need to create the simplest pie chart to display the answers to a yes-no question, like this:
Yes;61
No;39
And I'd like to place both, the Legend (words "Yes" and "No") and the Serie Label (numbers+%) inside their respective portions of the pie.
Or, if not inside, somewhere else in chart

Is that possible?

Thank you!
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: placing Legend and Label values together?

Hi,

Yes, it is possible and very simple using dataLabels. Unfortunately, I have just found that there is a bug with dataLabels in Pie when we click "Show In Legend". It's a major bug and will be fixed soon.

https://github.com/highcharts/highchart ... issues/546

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Cloud”