ArcGaugeBuilder
Defines the fluent API for configuring the Kendo UI ArcGauge
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ArcGaugeBuilder : WidgetBuilderBase<ArcGauge, ArcGaugeBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<ArcGauge, ArcGaugeBuilder>ArcGaugeBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ArcGaugeBuilder class.
Methods
The label template. Template variables: * value - the value
public ArcGaugeBuilder CenterTemplate(string value)
The value for CenterTemplate
Returns:Returns the current ArcGaugeBuilder instance.
The label template. Template variables: * value - the value
public ArcGaugeBuilder CenterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the centertemplate.
Returns:Returns the current ArcGaugeBuilder instance.
The label template. Template variables: * value - the value
public ArcGaugeBuilder CenterTemplateHandler(string templateHandler)
The handler that returs the template for CenterTemplate
Returns:Returns the current ArcGaugeBuilder instance.
The label template. Template variables: * value - the value
public ArcGaugeBuilder CenterTemplateId(string templateId)
The ID of the template element for CenterTemplate
Returns:Returns the current ArcGaugeBuilder instance.
The label template. Template variables: * value - the value
public ArcGaugeBuilder CenterTemplateView(IHtmlContent templateView)
The view that contains the template for CenterTemplate
Returns:Returns the current ArcGaugeBuilder instance.
The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public ArcGaugeBuilder Color(string value)
The value for Color
Returns:Returns the current ArcGaugeBuilder instance.
The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.
public ArcGaugeBuilder Colors(Action<ArcGaugeColorFactory> configurator)
The ArcGaugeColorFactory for the colors setting.
Returns:Returns the current instance of ArcGaugeBuilder .
The gauge area configuration options. This is the entire visible area of the gauge.
public ArcGaugeBuilder GaugeArea(Action<ArcGaugeGaugeAreaSettingsBuilder> configurator)
The ArcGaugeGaugeAreaSettingsBuilder for the gaugearea setting.
Returns:Returns the current instance of ArcGaugeBuilder .
The opacity of the value pointer.
public ArcGaugeBuilder Opacity(double value)
The value for Opacity
Returns:Returns the current ArcGaugeBuilder instance.
Specifies the preferred widget rendering mode.
public ArcGaugeBuilder RenderAs(RenderingMode value)
The value for RenderAs
Returns:Returns the current ArcGaugeBuilder instance.
Configures the scale.
public ArcGaugeBuilder Scale(Action<ArcGaugeScaleSettingsBuilder> configurator)
The ArcGaugeScaleSettingsBuilder for the scale setting.
Returns:Returns the current instance of 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.
public ArcGaugeBuilder Theme(string value)
The value for Theme
Returns:Returns the current ArcGaugeBuilder instance.
A value indicating if transition animations should be played.
public ArcGaugeBuilder Transitions(bool value)
The value for Transitions
Returns:Returns the current ArcGaugeBuilder instance.
The gauge value.
public ArcGaugeBuilder Value(double value)
The value for Value
Returns:Returns the current ArcGaugeBuilder instance.