Skip to main content
A newer version of this page is available. .

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.

Inheritance

constructor

Initializes a new instance of the FormatConditionAverage class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

averageType Property

Declaration

averageType: ko.Observable<DashboardFormatConditionAboveBelowType>

Property Value

Type
Observable<DashboardFormatConditionAboveBelowType>

getSpecificType Property

Declaration

getSpecificType: () => DashboardFormatConditionAboveBelowType

Property Value

Type
() => DashboardFormatConditionAboveBelowType

setSpecificType Property

Declaration

setSpecificType: (type: DashboardFormatConditionAboveBelowType) => void

Property Value

Type
(type: DashboardFormatConditionAboveBelowType) => void