New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent interface for configuring the gauge scale.

Definition

Constructors

Initializes a new instance of the GaugeRadialScaleBuilder class.

C#
public GaugeRadialScaleBuilder(RadialGauge gauge)
Parameters:gaugeRadialGauge

The gauge component.

Properties

The parent Guage

C#
public RadialGauge radialGauge { get; }

Methods

Sets the end angle of the gauge

C#
public GaugeRadialScaleBuilder EndAngle(double endAngle)
Parameters:endAngledouble

The end angle.

Returns:

GaugeRadialScaleBuilder

Example:
C#
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Scale(scale => scale
.EndAngle(10)
)
)

Configures the labels.

C#
public GaugeRadialScaleBuilder Labels(Action<GaugeRadialScaleLabelsBuilder> configurator)
Parameters:configuratorAction<GaugeRadialScaleLabelsBuilder>

The configuration action.

Returns:

GaugeRadialScaleBuilder

Example:
C#
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Scale(scale =&gt; scale
.Labels(labels =&gt; labels
.Visible(false)
)
)
)

Sets the distance from the range indicators to the ticks.

C#
public GaugeRadialScaleBuilder RangeDistance(double distance)
Parameters:distancedouble

The distance from the range indicators to the ticks.

Returns:

GaugeRadialScaleBuilder

Example:
C#
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Scale(scale =&gt; scale
.RangeDistance(4)
)
)

Sets the width of the range indicators.

C#
public GaugeRadialScaleBuilder RangeSize(double size)
Parameters:sizedouble

The width of the range indicators.

Returns:

GaugeRadialScaleBuilder

Example:
C#
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Scale(scale =&gt; scale
.RangeSize(4)
)
)

Sets the start angle of the gauge

C#
public GaugeRadialScaleBuilder StartAngle(double startAngle)
Parameters:startAngledouble

The start Angle.

Returns:

GaugeRadialScaleBuilder

Example:
C#
@( Html.Kendo().RadialGauge()
.Name("radialGauge")
.Scale(scale =&gt; scale
.StartAngle(220)
)
)