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

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 that configures the background.

Example


                @(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 action that configures the border.

Example


                @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .GaugeArea(ga => ga.Border(b => b.Color(value)))
                )

Height(System.Double)

The height of the gauge area.

Parameters

value - System.Double

The value that configures the height.

Example


                @(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 action that configures the margin.

Example


                @(Html.Kendo().CircularGauge()
                    .Name("circularGauge")
                    .GaugeArea(ga => ga.Margin(m=>m.Bottom(value)))
                )

Width(System.Double)

The width of the gauge area.

Parameters

value - System.Double

The value that configures the width.

Example


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

In this article
Not finding the help you need?