RadArcGauge
Circular arc gauge control supporting a single value pointer, range-based coloring, and templated center label. Provides a lightweight alternative to full radial gauges.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Visualization")]
[ToolboxBitmap(typeof(RadLinearGauge), "Toolbox.Icons.Gauge.png")]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Html5DataVizGauge))]
[RequiredScript(typeof(Html5DataVizThemes))]
[ClientScriptResource("Telerik.Web.UI.RadArcGauge", "Telerik.Web.UI.Gauge.Scripts.RadArcGaugeControl.js")]
[EmbeddedSkin("ArcGauge")]
[EmbeddedSkin("ArcGauge", "Default")]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Classic, typeof(RadArcGauge))]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Lightweight, typeof(RadArcGauge))]
public class RadArcGauge : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadArcGauge
Derived Classes:
Implements:
Inherited Members
Constructors
public RadArcGauge()
Properties
The gauge area configuration options. This is the entire visible area of the gauge.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Appearance Appearance { get; }
The label template. Template variables: * value - the value
[PersistenceMode(PersistenceMode.InnerProperty)]
public string CenterTemplate { get; set; }
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ArcGaugeClientEvents ClientEvents { get; }
The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public Color 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.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ArcGaugeColorsCollection ColorsCollection { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.
public override bool EnableEmbeddedBaseStylesheet { get; set; }
Overrides:
If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.
Gets or sets the value, indicating whether to render links to the embedded skins or not.
public override bool EnableEmbeddedSkins { get; set; }
Overrides:
If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.
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 GaugeRenderingEngine RenderAs { get; set; }
Configures the scale.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ArcScale Scale { get; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
A value indicating if transition animations should be played.
public bool Transitions { get; set; }
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: