GaugeRadialScaleBuilder
Properties
radialGauge - RadialGauge
Configuration for the default scale (if any)
Scale - IRadialScale
The scale end angle.s
Methods
EndAngle(System.Double)
Sets the end angle of the gauge
Parameters
endAngle - System.Double
The end angle.
Example
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
                       .Scale(scale => scale
                           .EndAngle(10)
                       )
            )
             StartAngle(System.Double)
Sets the start angle of the gauge
Parameters
startAngle - System.Double
The start Angle.
Example
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
                       .Scale(scale => scale
                           .StartAngle(220)
                       )
            )
             Labels(System.Action)
Configures the labels.
Parameters
configurator - System.Action<GaugeRadialScaleLabelsBuilder>
The configuration action.
Example
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
                       .Scale(scale => scale
                           .Labels(labels => labels
                               .Visible(false)
                           )
                       )
            )
             RangeSize(System.Double)
Sets the width of the range indicators.
Parameters
size - System.Double
The width of the range indicators.
Example
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
                       .Scale(scale => scale
                           .RangeSize(4)
                       )
            )
             RangeDistance(System.Double)
Sets the distance from the range indicators to the ticks.
Parameters
distance - System.Double
The distance from the range indicators to the ticks.
Example
 
            @( Html.Kendo().RadialGauge()
                       .Name("radialGauge")
                       .Scale(scale => scale
                           .RangeDistance(4)
                       )
            )
             MinorTicks(System.Action)
Configures the minor ticks.
Parameters
configurator - System.Action<GaugeScaleTicksBuilder>
The configuration action.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => scale
                           .MinorTicks(ticks => ticks
                               .Visible(false)
                           )
                       )
            )
             MajorTicks(System.Action)
Configures the major ticks.
Parameters
configurator - System.Action<GaugeScaleTicksBuilder>
The configuration action.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => scale
                           .MajorTicks(ticks => ticks
                               .Visible(false)
                           )
                       )
            )
             Ranges(System.Action)
Defines the ranges items.
Parameters
configurator - System.Action<GaugeScaleRangesFactory>
The add action.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => scale
                            .Ranges.Add()
                            .From(1)
                            .To(2)
                       )
            )
             MajorUnit(System.Double)
Sets the scale major unit.
Parameters
majorUnit - System.Double
The major unit.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => sclae.MajorUnit(5))
            )
             MinorUnit(System.Double)
Sets the scale minor unit.
Parameters
minorUnit - System.Double
The minor unit.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => sclae.MinorUnit(5))
            )
             Min(System.Double)
Sets the scale min value.
Parameters
min - System.Double
The min.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => sclae.Min(-20))
            )
             Max(System.Double)
Sets the scale max value.
Parameters
max - System.Double
The max.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => sclae.Max(20))
            )
             Reverse(System.Boolean)
Sets the scale reverse.
Parameters
reverse - System.Boolean
The scale reverse.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => sclae.reverse(true))
            )
             Line(System.Action)
Configures the major ticks.
Parameters
configurator - System.Action<GaugeLineBuilder>
The configuration action.
Example
 
            @( Html.Kendo().LinearGauge()
                       .Name("linearGauge")
                       .Scale(scale => scale
                           .Line(line => line
                               .Visible(false)
                           )
                       )
            )