Data Labels and Pie Charts

I setup a pie chart and am using the following data label formatter:

dataLabels.setFormatter(“‘’+ +‘: ‘+ this.percentage.toFixed(0) +’ %’”);

The out put of this formatter is the following: Name: 50%

I would like to add more data to the label so it prints the number of items as well as the percentage like the following:

Name (75): 50%

Is it possible to do this, and if so, how do I set that data and display it?


I got this to work. Instead of creating a global DataLabels object and setting it in my PlotOptionsPie object, I am creating a DataLabels object per DataSeriesItem and setting the values I need there.