Pie chart with a legend with dynamically-sized labels

This demo shows how we can use events to dynamically set width for the Pie chart's legend labels, so that the legend takes up all available space, left from the pie itself, as well as truncates the labels if there's no space available.

See the Pen
Pie chart with a legend with dynamically-sized labels
by amCharts team (@amcharts)
on CodePen.0

Posted in Uncategorized