Find file History
Latest commit 320f9b5 Aug 24, 2015 @maertz maertz v1.0.3
* Fixed config updates before drawing updates
Failed to load latest commit information. v1.0.3 Aug 24, 2015
pieDualLabels.js v1.0.3 Aug 24, 2015

amCharts Plugin: Pie Dual Labels

Version: 1.0.3


Allows adding a secondary label to Pie chart slices.


To enable, include pieDualLabels.min.js on your web page.


<script src="//"></script>


To enable second set of labels for your chart slices, use the customLabel block in chart config:

"customLabel": {
  "enabled": true,
  "labelText": "[[litres]]",
  "labelRadius": 15
Parameter Description
enabled Needs to be set to boolean true for plugin to work
labelText What to display in the secondary label. You can use double-square bracket metacodes to specify which field in the data to use in the label. It works exactly like labelText property of the Pie chart.
labelRadius A pixel value at which to put the label. Can be negative to make the label appear inside the slice.
labelFunction Callback method to filter the output before the label gets drawn (documentation)
labelTickColor A HEX color code to define the tick color (documentation)
labelTickAlpha Number between 0-1 to define the tick opacity (documentation)
color A HEX color code to define the label color (documentation)
fontFamily Defines the label font family (documentation)
fontSize A pixel value to define the label font size (documentation)
maxLabelWidth A pixel value to define the maximum with of the label, gets wrapped when the label exceeds this width (documentation)


All software included in this collection is licensed under Apache License 2.0.

This basically means you're free to use or modify it, even make your own versions or completely different products out of them.

Please see attached file "license.txt" for the complete license or online here:

Contact us



  • Fixed config updates before drawing updates


  • Fixed enabled property check within drawing updates


  • Fixed overlapping issue


  • Initial release