CircularGaugeScaleSettingsBuilder
Methods
Labels(System.Action)
Configures the scale labels.
Parameters
configurator - System.Action<CircularGaugeScaleLabelsSettingsBuilder>
The action that configures the labels.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s => s.Labels(l=>l.Background(value)))
)
MajorTicks(System.Action)
Configures the scale major ticks.
Parameters
configurator - System.Action<CircularGaugeScaleMajorTicksSettingsBuilder>
The action that configures the majorticks.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.MajorTicks(m=>m.Color(value)))
)
MajorUnit(System.Double)
The interval between major divisions.
Parameters
value - System.Double
The value that configures the majorunit.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.MajorUnit(value))
)
Max(System.Double)
The maximum value of the scale.
Parameters
value - System.Double
The value that configures the max.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.Max(value))
)
Min(System.Double)
The minimum value of the scale.
Parameters
value - System.Double
The value that configures the min.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.Min(value))
)
MinorTicks(System.Action)
Configures the scale minor ticks.
Parameters
configurator - System.Action<CircularGaugeScaleMinorTicksSettingsBuilder>
The action that configures the minorticks.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.MinorTicks(m=>m.Color(value)))
)
MinorUnit(System.Double)
The interval between minor divisions.
Parameters
value - System.Double
The value that configures the minorunit.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.MinorUnit(value))
)
RangePlaceholderColor(System.String)
The default color for the ranges.
Parameters
value - System.String
The value that configures the rangeplaceholdercolor.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.RangePlaceholderColor(value))
)
RangeSize(System.Double)
The width of the range indicators.
Parameters
value - System.Double
The value that configures the rangesize.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.RangeSize(value))
)
RangeDistance(System.Double)
The distance from the range indicators to the ticks.
Parameters
value - System.Double
The value that configures the rangedistance.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.RangeDistance(value))
)
Reverse(System.Boolean)
Reverses the scale direction - values are increase anticlockwise.
Parameters
value - System.Boolean
The value that configures the reverse.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.Reverse(value))
)
StartAngle(System.Double)
The start angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
Parameters
value - System.Double
The value that configures the startangle.
Example
@(Html.Kendo().CircularGauge()
.Name("circularGauge")
.Scale(s=>s.StartAngle(value))
)