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

Defines the fluent API for configuring the Kendo ArcGauge for ASP.NET MVC.

Definition

Constructors

Initializes a new instance of the ArcGauge class.

C#
public ArcGaugeBuilder(ArcGauge component)
Parameters:componentArcGauge

The component.

Methods

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

C#
public ArcGaugeBuilder CenterTemplate(string value)
Parameters:valuestring

The value that configures the centertemplate.

Returns:

ArcGaugeBuilder

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

C#
public ArcGaugeBuilder CenterTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the centertemplate.

Returns:

ArcGaugeBuilder

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

C#
public ArcGaugeBuilder CenterTemplateHandler(string value)
Parameters:valuestring

The value that configures the centertemplate.

Returns:

ArcGaugeBuilder

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

C#
public ArcGaugeBuilder CenterTemplateId(string value)
Parameters:valuestring

The value that configures the centertemplate.

Returns:

ArcGaugeBuilder

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

C#
public ArcGaugeBuilder CenterTemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the centertemplate.

Returns:

ArcGaugeBuilder

The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.

C#
public ArcGaugeBuilder Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

ArcGaugeBuilder

The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.

C#
public ArcGaugeBuilder Colors(Action<ArcGaugeColorFactory> configurator)
Parameters:configuratorAction<ArcGaugeColorFactory>

The action that configures the colors.

Returns:

ArcGaugeBuilder

The gauge area configuration options. This is the entire visible area of the gauge.

C#
public ArcGaugeBuilder GaugeArea(Action<ArcGaugeGaugeAreaSettingsBuilder> configurator)
Parameters:configuratorAction<ArcGaugeGaugeAreaSettingsBuilder>

The action that configures the gaugearea.

Returns:

ArcGaugeBuilder

The opacity of the value pointer.

C#
public ArcGaugeBuilder Opacity(double value)
Parameters:valuedouble

The value that configures the opacity.

Returns:

ArcGaugeBuilder

Specifies the preferred widget rendering mode.

C#
public ArcGaugeBuilder RenderAs(RenderingMode value)
Parameters:valueRenderingMode

The value that configures the renderas.

Returns:

ArcGaugeBuilder

Configures the scale.

C#
public ArcGaugeBuilder Scale(Action<ArcGaugeScaleSettingsBuilder> configurator)
Parameters:configuratorAction<ArcGaugeScaleSettingsBuilder>

The action that configures the scale.

Returns:

ArcGaugeBuilder

The gauge theme. With versions prior to R1 2023 this can be either the respective LESS theme from the list below or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.Note: Since Q2 2024 release, the default value for the theme property is "sass" instead of "default". It is recommended to use "sass" with version Q2 2024 or later.The supported values are: "sass"; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".

C#
public ArcGaugeBuilder Theme(string value)
Parameters:valuestring

The value that configures the theme.

Returns:

ArcGaugeBuilder

A value indicating if transition animations should be played.

C#
public ArcGaugeBuilder Transitions(bool value)
Parameters:valuebool

The value that configures the transitions.

Returns:

ArcGaugeBuilder

The gauge value.

C#
public ArcGaugeBuilder Value(double value)
Parameters:valuedouble

The value that configures the value.

Returns:

ArcGaugeBuilder