Skip to main content

FormatConditionAverage Class

A format condition used to apply formatting according to the average value.

Declaration

export class FormatConditionAverage extends FormatConditionStyleBase

Remarks

A format condition used to apply formatting according to the average value.

constructor

Initializes a new instance of the FormatConditionAverage class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
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

averageType Property

Declaration

averageType: ko.Observable<DevExpress.Dashboard.Model.DashboardFormatConditionAboveBelowType>

Property Value

Type
Observable<DashboardFormatConditionAboveBelowType>

getSpecificType Property

Declaration

getSpecificType: () => DevExpress.Dashboard.Model.DashboardFormatConditionAboveBelowType

Property Value

Type
() => DashboardFormatConditionAboveBelowType

setSpecificType Property

Declaration

setSpecificType: (type: DevExpress.Dashboard.Model.DashboardFormatConditionAboveBelowType) => void

Property Value

Type
(type: DashboardFormatConditionAboveBelowType) => void