Skip to main content

ASPxGaugeControl.AddGauge(GaugeType) Method

Adds an empty gauge to the ASPxGaugeControl.

Namespace: DevExpress.Web.ASPxGauges

Assembly: DevExpress.Web.ASPxGauges.v24.1.dll

NuGet Package: DevExpress.Web.Visualization

Declaration

public IGauge AddGauge(
    GaugeType type
)

Parameters

Name Type Description
type DevExpress.XtraGauges.Base.GaugeType

A DevExpress.XtraGauges.Base.GaugeType enumeration value that specifies the new gauge’s type.

Returns

Type Description
DevExpress.XtraGauges.Base.IGauge

An object that implements the DevExpress.XtraGauges.Base.IGauge interface.

Remarks

The ASPxGaugeControl supports four gauge types: circular, linear, digital gauges and state indicators. Gauges are stored within the ASPxGaugeControl.Gauges collection, and can be accessed using indexed notation.

Implements

DevExpress.XtraGauges.Base.IGaugeContainer.AddGauge(DevExpress.XtraGauges.Base.GaugeType)
See Also