Skip to main content

Gauge Class

Declaration

export class Gauge extends KpiElement

constructor(dataItemProvider)

Initializes a new instance of the Gauge class with specified settings.

Declaration

constructor(
    dataItemProvider: DevExpress.Dashboard.Model.DataDashboardItem,
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
dataItemProvider DataDashboardItem
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

maximum Property

Declaration

maximum: ko.Observable<number>

Property Value

Type
Observable<number>

minimum Property

Declaration

minimum: ko.Observable<number>

Property Value

Type
Observable<number>

scaleLabelNumericFormat Property

Declaration

scaleLabelNumericFormat: DevExpress.Dashboard.Model.DataItemNumericFormat

Property Value

Type
DataItemNumericFormat