scale.ranges Array

The ranges of the scale.

Example

<div id="linear-gauge"></div>
<script>
    $("#linear-gauge").kendoLinearGauge({
      scale: {
        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.

In this article