customPointText

A value format function / string.

For most series it defaults to:

<span style="color:{point.dataSeries.color}">
    {point.dataSeries.collectionAlias}</span>: <b>{point.y}
</b>

 
The code below shows an example with a custom format function:

tooltipSettings: {
    customHeaderText: "Local point Value: ",
    customPointText: function (point, chart) {
        return "<span><b>{" + point.y + "}</b></span>";
    }
}

 
Alternatively, you can use a short-hand format string to specify the format of the point text:

tooltipSettings: {
    customHeaderText: "Local point Value: ",
    customPointText: "{value:p0}"
}

This setting is demonstrated in the following example.