allValues
Allows setting or getting multiple Gauge values at once.
Parameters
values Array
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").kendoLinearGauge({
pointer: [{
value: 20
}, {
value: 40
}]
});
var gauge = $("#gauge").data("kendoLinearGauge");
gauge.allValues([60, 10]);
</script>
Example - retrieving all values
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: [{
value: 20
}, {
value: 40
}]
});
var gauge = $("#gauge").data("kendoLinearGauge");
var allValues = gauge.allValues();
</script>