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.
- C#
- VB.NET
public class ejDigitalGauge : ejBase
Public Class ejDigitalGauge
Inherits ejBase
Constructors
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);
ejDigitalGauge(options)
Constructs a new instance of the ejDigitalGauge class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);