ArcGauge
Kendo UI ArcGauge component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ArcGauge : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseArcGauge
Implements:
Inherited Members
Constructors
Initializes a new instance of the ArcGauge class.
Properties
The label template. Template variables: * value - the value
public string CenterTemplate { get; set; }
The handler that returns the template used for CenterTemplate
public string CenterTemplateHandler { get; set; }
The id of the script element used for CenterTemplate
public string CenterTemplateId { get; set; }
The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
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 List<ArcGaugeColor> Colors { get; set; }
The gauge area configuration options. This is the entire visible area of the gauge.
public ArcGaugeGaugeAreaSettings GaugeArea { get; }
Specifies the preferred widget rendering mode.
public RenderingMode? RenderAs { get; set; }
Configures the scale.
public ArcGaugeScaleSettings Scale { get; }
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 string Theme { get; set; }
A value indicating if transition animations should be played.
public bool? Transitions { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: