Sets the value of the totalLabelJsFunction property to the name of the JavaScript function.
●Layout
<Column2DSeries id="s3" yField="Revenue" displayName="Revenue" labelPosition="inside"
styleName="seriesStyle" insideLabelJsFunction="seriesLabelFunc">
●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 of the item. The value is an array and each element in the array is different depending on the chart type.
Pie2DSeries,Pie3DSeries 0: value, 1: percentage
Bubble3DSeries,Matrix2DSeries 0: X-axis value, 1: Y-axis value, 2: Z-axis value
All series except Pie and Bubble 0: X-axis value, 1: Y-axis value, 2: min value
* min value is applicable only when type is '100%' or 'stacked'.
When type is 'stacked", min has the initial value of the stack.
function seriesLabelFunc(seriesID, index, data, values)
{
return "$" + values[1];
}