scale.ranges Array
The ranges of the scale.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
renderAs: "canvas",
pointer: {
value: 50
},
scale: {
min: 0,
max: 100,
ranges: [{
from: 10,
to: 20,
color: "green"
}]
}
});
</script>
scale.ranges.from Number
The start position of the range in scale units.
scale.ranges.to Number
The end position of the range in scale units.
scale.ranges.opacity Number
The opacity of the range.
scale.ranges.color String
The color of the range. Any valid CSS color string will work here, including hex and rgb.