allValues

Allows setting or getting multiple Gauge values at once.

Parameters

values Array (optional)An array of values to be set.

ReturnsArray An array of the Gauge pointer values will be returned if no parameter is passed.

Example - setting multiple values

<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
    pointer: [{
    value: 20
    }, {
    value: 40
    }]
});

setTimeout(function(){
    var gauge = $("#gauge").data("kendoRadialGauge");
    gauge.allValues([60, 10]);
},1000)

</script>

Example - retrieving all values

<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
    pointer: [{
    value: 20
    }, {
    value: 40
    }]
});

var gauge = $("#gauge").data("kendoRadialGauge");
var allValues = gauge.allValues();
</script>
In this article
Not finding the help you need? Improve this article