Pie charts in highcharts

I have a pie chart that is generated from a json string. The cake is created correctly, but it happens that the tooltip becomes cut off when the text displayed in the tooltip is large. I tried to increase the width and height of the svg area. But the charts are generated dynamically, so I can’t dynamically adjust the widht chart and height depending on the content.

+5
source share
4 answers

You can customize the margins margin:[0,100,0,100],to reduce the pie chart so that tooltips / labels appear. This was configured to automatically scale the chart in Highcharts 3.0.

http://www.highcharts.com/component/content/article/2-news/53-highcharts-3-0-beta-released

http://github.highcharts.com/v3.0Beta/highcharts.js

http://jsfiddle.net/Zvrt6/1/

+3

div jsfiddle, ,

0

Change the diameter of your pie chart to provide additional information.

http://www.highcharts.com/ref/#plotOptions-pie--size

0
source

All Articles