CircularGaugeColorBuilder
Methods
Color(System.String)
The color of the pointer in the specified range.
Parameters
value - System.String
The value for Color
RETURNS
Returns the current CircularGaugeColorBuilder instance.
Example
Razor
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Colors(c => {
c.Add().Color(value);
c.Add().To(value);
c.Add().From(value);
})
)
From(System.Double)
The lower range value of the applied color.
Parameters
value - System.Double
The value for From
RETURNS
Returns the current CircularGaugeColorBuilder instance.
Example
Razor
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Colors(c => {
c.Add().From(value);
})
)
To(System.Double)
The upper range value of the applied color.
Parameters
value - System.Double
The value for To
RETURNS
Returns the current CircularGaugeColorBuilder instance.
Example
Razor
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Colors(c => {
c.Add().To(value);
})
)