Custom CSS classes for Data Labels in Donut Pie Chart


I'm working on this donut chart

I was wondering if it's possible to assign a different custom CSS class to each data label in order to style each one with a different icon and to correct the positioning issues.

By : NDstudio


Solved (thanx to fcodebue)! If anyone can find this useful... Here's the complete code:

Starting from the highcharts donut oie demo -to assign a custom class from the array to each label modify the the formatter like this:

//assign classes from array
                    return this.y 
By : NDstudio

This video can help you solving your question :)
By: admin