Fitting pie charts into small containers

Type tutorial

Sometimes all it takes to convey a message is a pie chart. It’s a great way to show distribution without going into much detail using words. It’s also great, because it can be crammed into relatively small containers. amCharts’ implementation of a pie chart will do the job for you of auto-fitting the actual pie […]

Make the pie chart to take the whole space of the container

Type tutorial

In order for the pie to take the whole width/height of the container you will need to: 1) Disable callouts / labels; 2) Set all margins to zero; 3) Disable slice pullout functionality. Like this: chart.labelsEnabled = false; chart.autoMargins = false; chart.marginTop = 0; chart.marginBottom = 0; chart.marginLeft = 0; chart.marginRight = 0; chart.pullOutRadius = […]