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

RadialGaugeScaleLabelsSettingsBuilder

Methods

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

Sets the labels margin

Parameters

top - System.Int32

The labels top margin.

right - System.Int32

The labels right margin.

bottom - System.Int32

The labels bottom margin.

left - System.Int32

The labels left margin.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                           .Labels(labels => labels
                               .Margin(0, 5, 5, 0)
                           )
                       )
            )

Margin(System.Int32)

Sets the labels margin

Parameters

margin - System.Int32

The labels margin.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                           .Labels(labels => labels
                               .Margin(20)
                           )
                       )
            )

Padding(System.Int32,System.Int32,System.Int32,System.Int32)

Sets the labels padding

Parameters

top - System.Int32

The labels top padding.

right - System.Int32

The labels right padding.

bottom - System.Int32

The labels bottom padding.

left - System.Int32

The labels left padding.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                          .Labels(labels => labels
                              .Padding(0, 5, 5, 0)
                          )
                       )
            )

Padding(System.Int32)

Sets the labels padding

Parameters

padding - System.Int32

The labels padding.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                          .Labels(labels => labels
                              .Padding(5)
                          )
                       )
            )

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

Sets the labels border

Parameters

width - System.Int32

The labels border width.

color - System.String

The labels border color (CSS syntax).

dashType - ChartDashType

The labels border dash type.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                           .Labels(labels => labels
                               .Border(1, "Red", ChartDashType.Dot)
                           )
                       )
            )

Opacity(System.Double)

Sets the labels opacity.

Parameters

opacity - System.Double

The series opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.

Example


            @( Html.Kendo().RadialGauge()
                       .Name("gauge")
                       .Scale(scale => scale
                           .Labels(labels => labels
                               .Opacity(0.5)
                           )
                       )
            )

Background(System.String)

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

Parameters

value - System.String

The value for Background

Border(System.Action)

The border of the labels.

Parameters

configurator - System.Action<RadialGaugeScaleLabelsBorderSettingsBuilder>

The configurator for the border setting.

Color(System.String)

The text color of the labels. Any valid CSS color string will work here, including hex and rgb.

Parameters

value - System.String

The value for Color

Font(System.String)

The font style of the labels.

Parameters

value - System.String

The value for Font

Format(System.String)

The format of the labels.

Parameters

value - System.String

The value for Format

Margin(System.Action)

The margin of the labels.

Parameters

configurator - System.Action<RadialGaugeScaleLabelsMarginSettingsBuilder>

The configurator for the margin setting.

Padding(System.Action)

The padding of the labels.

Parameters

configurator - System.Action<RadialGaugeScaleLabelsPaddingSettingsBuilder>

The configurator for the padding setting.

Template(System.String)

The label template. Template variables: value - the value.

Parameters

value - System.String

The value for Template

TemplateId(System.String)

The label template. Template variables: value - the value.

Parameters

templateId - System.String

The ID of the template element for Template

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The label template. Template variables: value - the value.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

TemplateHandler(System.String)

The label template. Template variables: value - the value.

Parameters

templateHandler - System.String

The handler that returs the template for Template

Template(Kendo.Mvc.UI.TemplateBuilder)

The label template. Template variables: value - the value.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Visible(System.Boolean)

The visibility of the labels.

Parameters

value - System.Boolean

The value for Visible

Position(Kendo.Mvc.UI.GaugeRadialScaleLabelsPosition)

Sets the labels position

Parameters

value - GaugeRadialScaleLabelsPosition

The value for Position

In this article
Not finding the help you need?