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

GaugeRadialPointerBuilder

Methods

Color(System.String)

Sets the pointer color.

Parameters

color - System.String

The pointer color.

Example


            @( Html.Kendo().RadialGauge()
                      .Name("radialGauge")
                      .Pointer(pointer => pointer
                          .Color("red")
                      )
                      .Render();
            )

Length(System.Double)

Sets the pointer length.

Parameters

length - System.Double

The pointer length (in percent) that is based on the distance to the scale. The default length of 1 indicates that the pointer exactly reaches the scale. Accepts values between 0.1 and 1.5.

Example


            @( Html.Kendo().RadialGauge()
                      .Name("radialGauge")
                      .Pointer(pointer => pointer
                          .Length(0.5)
                      )
                      .Render();
            )

Opacity(System.Double)

Sets the pointer opacity.

Parameters

opacity - System.Double

The pointer opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.

Example


            @( Html.Kendo().RadialGauge()
                      .Name("radialGauge")
                      .Pointer(pointer => pointer
                          .Opacity(0.5)
                      )
                      .Render();
            )

Value(System.Double)

Sets the pointer value.

Parameters

value - System.Double

The pointer value.

Example


            @( Html.Kendo().RadialGauge()
                      .Name("radialGauge")
                      .Pointer(pointer => pointer
                          .Value(25)
                      )
                      .Render();
            )

Cap(System.Action)

Configures the pointer cap.

Parameters

configurator - System.Action<GaugeRadialCapBuilder>

The configuration action.

Example


            @( Html.Kendo().RadialGauge()
                      .Name("radialGauge")
                      .Pointer(pointer => pointer
                          .Cap(cap => cap.Color("red"))
                      )
                      .Render();
            )

In this article
Not finding the help you need?