CircularGaugeScaleSettingsBuilder

Methods

Labels(System.Action)

Configures the scale labels.

Parameters

configurator - System.Action<CircularGaugeScaleLabelsSettingsBuilder>

The configurator for the labels setting.

RETURNS

Returns the current instance of CircularGaugeScaleSettingsBuilder .

MajorTicks(System.Action)

Configures the scale major ticks.

Parameters

configurator - System.Action<CircularGaugeScaleMajorTicksSettingsBuilder>

The configurator for the majorticks setting.

RETURNS

Returns the current instance of CircularGaugeScaleSettingsBuilder .

MajorUnit(System.Double)

The interval between major divisions.

Parameters

value - System.Double

The value for MajorUnit

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for Max

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for Min

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .Scale(s=>s.Min(value))
                )
             

MinorTicks(System.Action)

Configures the scale minor ticks.

Parameters

configurator - System.Action<CircularGaugeScaleMinorTicksSettingsBuilder>

The configurator for the minorticks setting.

RETURNS

Returns the current instance of CircularGaugeScaleSettingsBuilder .

MinorUnit(System.Double)

The interval between minor divisions.

Parameters

value - System.Double

The value for MinorUnit

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for RangePlaceholderColor

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for RangeSize

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for RangeDistance

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for Reverse

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .Scale(s=>s.Reverse(value))
                )
             

Reverse()

Reverses the scale direction - values are increase anticlockwise.

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(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 for StartAngle

RETURNS

Returns the current CircularGaugeScaleSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .Scale(s=>s.StartAngle(value))
                )