Issue:
The HTML5 chart API provides a way to modify pie chart labels using plotOptions.pie.dataLabels.formatter (the formatter property is available for other chart types as well, such as xAxis.label.formatter). The formatter takes a function as the value, and it is for this reason that it has been disabled due to possible XSS security vunerabilities.
http://api.highcharts.com/highcharts#plotOptions.pie.dataLabels.formatter
__________________________________________________________________________________________________
Resolution:
Use the database to calculate the percentage and return it in a field. This field can now be used in the category bucket expression, e.g., $F{country} + ":" + $F{percent} + " %"
Recommended Comments
There are no comments to display.