Sets the value of the labelJsFunction property to the name of the JavaScript function.
●Layout
<Pie2DSeries field="Profit" nameField="Month" displayName="Profit"
labelPosition="inside" labelJsFunction="pieSeriesLabelFunc" color="#ffffff">
●Script
Parameters
seriesID: Series ID
index: The index of the item in the series.
data: The record of the dataset declared for creating the chart.
values: The value is an array and each element in the array is different depending on the chart type.
PieSeries 0: value, 1: percentage
function pieSeriesLabelFunc(seriesId, index, data, values)
{
return data["Month"]+", "+Number(values[1]).toFixed(2)+"%";
}