Skip to main content

ejDigitalGauge

Namespace: Wisej.Web.Ext.Syncfusion

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

The DigitalGauge control displays alphanumeric characters in a digital format, like the segments of an LED display.

public class ejDigitalGauge : ejBase

Constructors​

Instance member ejDigitalGauge()​

Constructs a new instance of the ejDigitalGauge class.

Example:

The following example creates the gauge and sets the displayed text through the options.

var gauge = new ejDigitalGauge();
gauge.Options.items = new[] { new { value = "12:45" } };
gauge.Size = new Size(400, 150);
this.Controls.Add(gauge);

Instance member ejDigitalGauge(options)​

Constructs a new instance of the ejDigitalGauge class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a gauge that displays a text in red.

var gauge = new ejDigitalGauge(new
{
items = new[]
{
new { value = "WISEJ", textColor = "#ff0000" }
}
});
gauge.Size = new Size(400, 150);
this.Controls.Add(gauge);

Implements​