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

Circular Gauge Scale

The scale of the Telerik UI Circular Gauge for ASP.NET MVC renders the values, pointers, and labels. To customize it, use the Scale option, which exposes the following child options:

Min and Max

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

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

    @(Html.Kendo().CircularGauge()
        .Name("gauge")
        .Value(65)
        .Scale(x => x.Min(0).Max(100))
    )

MinorUnit and MajorUnit

  • The MajorUnit (double) parameter controls the interval between the major unit divisions of the control. The values provided to the circular 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 control.

    @(Html.Kendo().CircularGauge()
        .Name("gauge")
        .Value(65)
        .Scale(x => x.MajorUnit(20).MinorUnit(5))
    )

Reverse

The Reverse property reverses the scale direction to show values that are increased counterclockwise.

    @(Html.Kendo().CircularGauge()
        .Name("gauge")
        .Value(65)
        .Scale(x => x.Reverse(true))
    )

See Also

In this article