or
In the Linear gauge you can add a pointer value (little red arrow in the example) that goes on the scale. Is this possible with the Radial gauge as well? So I could make a low, avg, and high point on radial gauge instead of using the linear gauge?
@(Html.Kendo().LinearGauge()
.Name(
"DivTime"
)
.HtmlAttributes(
new
{ title =
"167"
})
.Pointers(p =>
{
p.Add().Value(167).Color(
"#2A5E76"
).Size(20).Margin(0).Border(b => b.Opacity(100).Width(0));
p.Add().Value(100).Color(
"#C1D82F"
).Size(20).Margin(0).Border(b => b.Opacity(100).Width(0));
})
.Transitions(
false
)
.Scale(scale => scale
.Vertical(
false
)
.Labels(builder => builder.Visible(
false
))
.MajorTicks(builder => builder.Visible(
false
))
.MinorTicks(builder => builder.Visible(
false
))
.Line(builder => builder.Visible(
false
))
.MajorUnit(20)
.MinorUnit(2)
.Min(0)
.Max(167)
))
@(
Html.Kendo().RadialGauge()
.Name(
"patientDocumentMatchThresholdGauge"
)
.Pointer(pointer => pointer.Value((
double
)Model.PatientDocumentMatchThreshold * 100))
.Scale(scale => scale
.EndAngle(180)
.MajorUnit(10)
.Max(100)
.Min(0)
.MinorUnit(1)
.StartAngle(0)
.Ranges(ranges => {
ranges.Add().From(0).To(90).Color(
"#f00"
);
ranges.Add().From(90).To(95).Color(
"#ffa500"
);
ranges.Add().From(95).To(100).Color(
"#0c0"
);
}
)
)
)