RadialGaugePointerBuilder
Methods
Cap(System.Action)
The cap configuration options.
Parameters
configurator - System.Action<RadialGaugePointerCapSettingsBuilder>
The configurator for the cap setting.
Example
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Pointer(pointer => pointer
.Cap(cap => cap.Color("red"))
)
.Render();
)
Color(System.String)
The color of the pointer. Any valid CSS color string will work here, including hex and rgb.
Parameters
value - System.String
The value for Color
Example
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Pointer(pointer => pointer
.Color("red")
)
)
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)
)
)
Value(System.Double)
The value of the gauge.
Parameters
value - System.Double
The value for Value
Example
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Pointer(pointer => pointer
.Value(25)
)
)
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
.Cap(cap => cap.Opacity(0.5))
)
)