New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Radial Gauge Scale

The scale of the Telerik UI RadialGauge for ASP.NET MVC renders the values, pointers and labels. It can be customized by adding the Scale option to the widget. The Scale exposes the following child options:

Min and Max

  • The Min (double) sets the lowest value of the widget.

  • The Max (double) sets the maximum value of the widget.

    @(Html.Kendo().RadialGauge()
          .Name("gauge")
          .Scale(scale => scale
              .Min(10)
              .Max(180)
          )
    )

MinorUnit and MajorUnit

  • The MajorUnit (double) parameter controls the interval between the major unit divisions of the widget. The values provided to the radial gauge's Pointer will render as a MajorUnit tick. The labels will be rendered next to the MajorUnit ticks.

  • The MinorUnit (double) parameter controls the interval between the minor unit divisions of the widget.

    @(Html.Kendo().RadialGauge()
          .Name("gauge")
          .Scale(scale => scale
              .MajorUnit(20)
              .MinorUnit(5)
          )
    )

Reverse

If you set the Reverse (bool) option to true, the values of the scale will increase right to left. By default they will raise from left to right.

    @(Html.Kendo().RadialGauge()
          .Name("gauge")
          .Scale(scale => scale
            .Reverse(true)
          )
    )

See Also

In this article