FormatConditionBase Class

Serves as a base for classes that represent format conditions used to apply formatting.

Declaration

export abstract class FormatConditionBase extends SerializableModel

Inheritance

constructor

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

dataType Property

Declaration

dataType: ko.Observable<string>

Property Value

Type
Observable<string>

dateTimeGroupInterval Property

Declaration

dateTimeGroupInterval: ko.Observable<DateTimeGroupInterval>

Property Value

Type
Observable<DateTimeGroupInterval>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

isEmpty Property

Declaration

isEmpty: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

setSpecificType Property

Declaration

setSpecificType: (type: any) => void

Property Value

Type
(type: any) => void

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

init Method

Declaration

init(): void

isGradient Method

Declaration

isGradient(): boolean

Returns

Type
boolean

isRange Method

Declaration

isRange(): boolean

Returns

Type
boolean

isValid Method

Declaration

isValid(): boolean

Returns

Type
boolean