Wijmo UI for the Web
formatter Field
wijmo.chart Namespace > piechart_labels Interface : formatter Field
A function that formats the chart labels.
Syntax
var instance; // Type: wijmo.chart.piechart_labels;
var value; // Type: Function
value = instance.formatter;
var formatter : Function;
Example
labels: {
    style: {
        "font-size": 11
    },
    formatter: function () {
        return this.chartLabel + " : " + Globalize.format(this.value / this.total, "p2");
    },
    connectorStyle: {
        fill: "red",
        stroke: "red",
        "stroke-width": 2
    },
    position: "outside",
    offset: 30
}
See Also

Reference

piechart_labels Interface