I'm trying to create a linear gauge, where ONLY the pointer is shown. The scale and all other furniture needs to be hidden, as we are displaying the pointer over a custom image in our web page.
My code for the gauge so far is as follows:
This is almost there, and displays the pointer with just a single, undecorated line where you would expect the scale to be (see attached image), but I can't seem to find in the API reference how you would switch that line off. Any help would be appreciated.
My code for the gauge so far is as follows:
@(Html.Kendo().LinearGauge().Name("LinGauge" + @Model.ComponentName.Replace(" ",""))
.Pointer(pointer => pointer.Size(30.0)
.Color("Black")
.Value(@Model.ComponentScore / 1000.0)
.Shape(GaugeLinearPointerShape.Arrow))
.Scale(scale => scale.Min(0.0)
.Max(1.0)
.Vertical(false)
.MinorTicks(t => t.Visible(false))
.MajorTicks(t => t.Visible(false))
.Labels(l=>l.Visible(false))))
This is almost there, and displays the pointer with just a single, undecorated line where you would expect the scale to be (see attached image), but I can't seem to find in the API reference how you would switch that line off. Any help would be appreciated.