Skip to main content

kendoArcGauge

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The ArcGauge represents a value on a circular arc.

public class kendoArcGauge : kendoBase

Constructors​

Instance member 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);

Instance member kendoArcGauge(options)​

Constructs a new instance of the kendoArcGauge class.

NameTypeDescription
optionsObjectInitial 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);

Implements​