FormatConditionValue Class

A format condition used to apply formatting according to predefined values.

Declaration

export class FormatConditionValue extends FormatConditionStyleBase

constructor

Initializes a new instance of the FormatConditionValue 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

condition Property

Declaration

condition: ko.Observable<DashboardFormatCondition>

Property Value

Type Description
ko.Observable

getSpecificType Property

Declaration

getSpecificType: () => DashboardFormatCondition

Property Value

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

setSpecificType Property

Declaration

setSpecificType: (type: DashboardFormatCondition) => void

Property Value

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

value1 Property

Declaration

value1: ComplexValue

Property Value

Type Description
ComplexValue

value2 Property

Declaration

value2: ComplexValue

Property Value

Type Description
ComplexValue