LinearGaugeBuilder
Defines the fluent API for configuring the Kendo UI LinearGauge
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class LinearGaugeBuilder : WidgetBuilderBase<LinearGauge, LinearGaugeBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<LinearGauge, LinearGaugeBuilder>LinearGaugeBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the LinearGaugeBuilder class.
Methods
The gauge area configuration options. This is the entire visible area of the gauge.
public LinearGaugeBuilder GaugeArea(Action<LinearGaugeGaugeAreaSettingsBuilder> configurator)
The LinearGaugeGaugeAreaSettingsBuilder for the gaugearea setting.
Returns:Returns the current instance of LinearGaugeBuilder .
Configures the pointer
public LinearGaugeBuilder Pointer(Action<LinearGaugePointerBuilder> configurator)
The configurator
Returns:The current LinearGaugeBuilder instance
The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
public LinearGaugeBuilder Pointers(Action<LinearGaugePointerFactory> configurator)
The configurator for the pointer setting.
Returns:Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
public LinearGaugeBuilder RenderAs(RenderingMode value)
The value for RenderAs
Returns:Returns the current LinearGaugeBuilder instance.
Configures the scale.
public LinearGaugeBuilder Scale(Action<LinearGaugeScaleSettingsBuilder> configurator)
The LinearGaugeScaleSettingsBuilder for the scale setting.
Returns:Returns the current instance of LinearGaugeBuilder .
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".
public LinearGaugeBuilder Theme(string value)
The value for Theme
Returns:Returns the current LinearGaugeBuilder instance.
A value indicating if transition animations should be played.
public LinearGaugeBuilder Transitions(bool value)
The value for Transitions
Returns:Returns the current LinearGaugeBuilder instance.