gwchndlr
Posts: 2
Joined: Thu Sep 14, 2023 9:43 pm

Pie chart show names as outside data label

Thu Sep 14, 2023 9:49 pm

Basically i'd like to show the point values inside, but i'd like to show the point names outside. is this possible? i've been messing with it for an hour or so and am not getting anywhere. what i want would basically look like this if possible:
MicrosoftTeams-image.png
MicrosoftTeams-image.png (10.31 KiB) Viewed 68 times

jakub.j
Posts: 857
Joined: Tue Jan 24, 2023 11:14 am

Re: Pie chart show names as outside data label

Fri Sep 15, 2023 11:39 am

Welcome to our forum and thanks for contacting us with your question!

You can achieve this by drawing two pies on top of each other and setting different dataLabels options for both of them, see:

Demo: https://jsfiddle.net/BlackLabel/2t15p7ud/

Let me know if that was what you were looking for!
Kind regards
Jakub
Jakub
Highcharts Developer

gwchndlr
Posts: 2
Joined: Thu Sep 14, 2023 9:43 pm

Re: Pie chart show names as outside data label

Fri Sep 15, 2023 3:52 pm

wow thats a very clever solution! however i'm not sure that will work for me. i'm using highcharts api in Jedox and although i can edit the JSON parameters i'm not sure i have the ability to render two charts at a time. i'll mess around with it and see if i can do this.

Return to “Highcharts Usage”