Highcharts pie chart dynamically resizes

I have a problem with a pie chart that I created in tall charts.

Depending on the placement of the data labels, the actual schedule will increase or decrease.

Do we need a pie chart so that it stays the same size, so is there a way to keep the pie size constant and make the labels fit around it, or do I just need to place the labels inside each fragment?

+6
source share
1 answer

You will need to set a fixed size for the pie chart. May be a percentage or a pixel value. For instance:

 plotOptions: { pie: { size: 100 } }, 

See this script from the API http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/pie-size/

+16
source

All Articles