Kendo.Mvc.UI.Fluent.RadialGaugeGaugeAreaSettingsBuilder

Defines the fluent API for configuring RadialGaugeGaugeAreaSettings

Methods

Margin(System.Int32,System.Int32,System.Int32,System.Int32)

Sets the gauge area margin.

Parameters

top System.Int32

The gauge area top margin.

right System.Int32

The gauge area right margin.

bottom System.Int32

The gauge area bottom margin.

left System.Int32

The gauge area left margin.

Example (ASPX)

<% Html.Kendo().LinearGauge()
    .Name("linearGauge")
    .GaugeArea(gaugeArea => gaugeArea.Margin(0, 5, 5, 0))
    .Render();
%>

Margin(System.Int32)

Sets the gauge area margin.

Parameters

margin System.Int32

The gauge area margin.

Border(System.Int32,System.String,Kendo.Mvc.UI.ChartDashType)

Sets the gauge area border.

Parameters

width System.Int32

The border width.

color System.String

The border color (CSS syntax).

dashType Kendo.Mvc.UI.ChartDashType

The border dash type.

Example (ASPX)

<% Html.Kendo().LinearGauge()
    .Name("linearGauge")
    .GaugeArea(gaugeArea => gaugeArea.Border(1, "#000", ChartDashType.Dot))
    .Render();
%>

Border(System.Action<Kendo.Mvc.UI.Fluent.RadialGaugeGaugeAreaBorderSettingsBuilder>)

The border of the gauge area.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.RadialGaugeGaugeAreaBorderSettingsBuilder>

The configurator for the border setting.

Height(System.Double)

The height of the gauge area. By default, the vertical gauge is 200px and the horizontal one is 60px.

Parameters

value System.Double

The value for Height

Margin(System.Action<Kendo.Mvc.UI.Fluent.RadialGaugeGaugeAreaMarginSettingsBuilder>)

The margin of the gauge area.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.RadialGaugeGaugeAreaMarginSettingsBuilder>

The configurator for the margin setting.

Width(System.Double)

The width of the gauge area. By default the vertical gauge is 60px and horizontal gauge is 200px.

Parameters

value System.Double

The value for Width

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