Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy