kendoArcGauge
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The ArcGauge represents a value on a circular arc.
- C#
- VB.NET
public class kendoArcGauge : kendoBase
Public Class kendoArcGauge
Inherits kendoBase
Constructors
kendoArcGauge()
Constructs a new instance of the kendoArcGauge class.
Example:
The following example creates an arc gauge and configures it through the Options property.
var gauge = new kendoArcGauge();
gauge.Options.value = 65;
gauge.Options.scale = new { min = 0, max = 100 };
gauge.Size = new Size(200, 200);
this.Controls.Add(gauge);
kendoArcGauge(options)
Constructs a new instance of the kendoArcGauge class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates an arc gauge that shows the value as a percentage in its center.
var gauge = new kendoArcGauge(new
{
value = 65,
centerTemplate = "#: value #%",
scale = new { min = 0, max = 100 }
});
gauge.Dock = DockStyle.Fill;
this.Controls.Add(gauge);