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

GaugeRadialCapBuilder

Methods

Color(System.String)

Sets the cap color.

Parameters

color - System.String

The cap color.

Example


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

Opacity(System.Double)

Sets the cap opacity.

Parameters

opacity - System.Double

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

Example


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

Size(System.Double)

Sets the cap size in percents.

Parameters

size - System.Double

The cap size in percents.

Example


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

In this article
Not finding the help you need?