Hi
I currently have the following but I would like to be able to specify the ranges dynamically using sliders. Can anyone tell me how to implement this?
Note - there will always be four ranges, its just where these start and stop is where I want to regulate.
I currently have the following but I would like to be able to specify the ranges dynamically using sliders. Can anyone tell me how to implement this?
Note - there will always be four ranges, its just where these start and stop is where I want to regulate.
@(Html.Kendo().RadialGauge()
.Name("testRadialGauge")
.Pointer(pointer => pointer
.Value(0)
.Color("Blue")
)
.Scale(scale => scale
.MinorUnit(200)
.StartAngle(-30)
.EndAngle(210)
.Max(5000)
.Labels(GaugeRadialScaleLabels => GaugeRadialScaleLabels
.Visible(true)
).Ranges(ranges =>
{
ranges.Add().From(0).To(800).Color("#c20000");
ranges.Add().From(800).To(1600).Color("#ff7a00");
ranges.Add().From(1600).To(2000).Color("#ffc700");
ranges.Add().From(2000).To(5000).Color("green");
})
)
)