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