Skip to main content

FormatConditionAverage Class

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

#Declaration

TypeScript
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

TypeScript
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

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

#Property Value

Type
Observable<DashboardFormatConditionAboveBelowType>

#getSpecificType Property

#Declaration

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

#Property Value

Type
() => DashboardFormatConditionAboveBelowType

#setSpecificType Property

#Declaration

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

#Property Value

Type
(type: DashboardFormatConditionAboveBelowType) => void