scale.labels.template String|Function

The label template. Template variables:

  • value - the value

Example

<div id="gauge"></div>
<script>
$("#gauge").kendoArcGauge({
    value: 50,
    scale: {
        min: 0,
        max: 100,
        labels: {
            visible: true,
            // set the format to currency
            template: "#= value #%"
        }
    }
});
</script>
In this article
Not finding the help you need? Improve this article