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<DashboardFormatConditionAboveBelowType>

Property Value

Type Description
ko.Observable

getSpecificType Property

Declaration

getSpecificType: () => DashboardFormatConditionAboveBelowType

Property Value

Type Description
()=>js-DevExpress.Dashboard.Model.DashboardFormatConditionAboveBelowType

setSpecificType Property

Declaration

setSpecificType: (type: DashboardFormatConditionAboveBelowType) => void

Property Value

Type Description
(type:js-DevExpress.Dashboard.Model.DashboardFormatConditionAboveBelowType)=>void