Skip to main content

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<DevExpress.Dashboard.Model.DashboardFormatCondition>

Property Value

Type
Observable<DashboardFormatCondition>

getSpecificType Property

Declaration

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

Property Value

Type
() => DashboardFormatCondition

setSpecificType Property

Declaration

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

Property Value

Type
(type: DashboardFormatCondition) => void

value1 Property

Declaration

value1: DevExpress.Dashboard.Model.ComplexValue

Property Value

Type
ComplexValue

value2 Property

Declaration

value2: DevExpress.Dashboard.Model.ComplexValue

Property Value

Type
ComplexValue