CircularGaugeGaugeAreaSettingsBuilder

Methods

Background(System.String)

The background of the gauge area. Any valid CSS color string will work here, including hex and rgb.

Parameters

value - System.String

The value for Background

RETURNS

Returns the current CircularGaugeGaugeAreaSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .GaugeArea(ga=>ga.Background(value))
                )
             

Border(System.Action)

The border of the gauge area.

Parameters

configurator - System.Action<CircularGaugeGaugeAreaBorderSettingsBuilder>

The configurator for the border setting.

RETURNS

Returns the current instance of CircularGaugeGaugeAreaSettingsBuilder .

Height(System.Double)

The height of the gauge area.

Parameters

value - System.Double

The value for Height

RETURNS

Returns the current CircularGaugeGaugeAreaSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .GaugeArea(ga=>ga.Height(value))
                )
             

Margin(System.Action)

The margin of the gauge area.

Parameters

configurator - System.Action<CircularGaugeGaugeAreaMarginSettingsBuilder>

The configurator for the margin setting.

RETURNS

Returns the current instance of CircularGaugeGaugeAreaSettingsBuilder .

Width(System.Double)

The width of the gauge area.

Parameters

value - System.Double

The value for Width

RETURNS

Returns the current CircularGaugeGaugeAreaSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .GaugeArea(ga=>ga.Width(value))
                )