GaugeLinearTrackBuilder
Methods
Color(System.String)
Sets the track color.
Parameters
color - System.String
The track color.
Example
@( Html.Kendo().LinearGauge()
.Name("linearGauge")
.Pointer(pointer => pointer
.Track(track => track.Color("red"))
)
.Render();
)
Size(System.Double)
Sets the track size.
Parameters
size - System.Double
The track size.
Example
@( Html.Kendo().LinearGauge()
.Name("linearGauge")
.Pointer(pointer => pointer
.Track(track => track.Size(8))
)
.Render();
)
Visible(System.Boolean)
Sets the track visibility.
Parameters
visible - System.Boolean
The track visibility.
Example
@( Html.Kendo().LinearGauge()
.Name("linearGauge")
.Pointer(pointer => pointer
.Track(track => track.Visible(true))
)
.Render();
)
Border(System.Int32,System.String,Kendo.Mvc.UI.ChartDashType)
Sets the track border.
Parameters
width - System.Int32
The pointer border width.
color - System.String
The pointer border color.
dashType - ChartDashType
The pointer dash type.
Example
@( Html.Kendo().LinearGauge()
.Name("linearGauge")
.Pointer(pointer => pointer
.Track(track => track.Border(1, "#000", ChartDashType.Dot))
)
.Render();
)
Border(System.Action)
Configures the track border
Parameters
configurator - System.Action<ChartBorderBuilder>
The border configuration action