Skip to main content

FormatConditionBase Class

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

#Declaration

TypeScript
export abstract class FormatConditionBase extends SerializableModel

#Inherited Members

#constructor

Initializes a new instance of the FormatConditionBase class.

#Declaration

TypeScript
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

TypeScript
dataType: ko.Observable<string>

#Property Value

Type
Observable<string>

#dateTimeGroupInterval Property

#Declaration

TypeScript
dateTimeGroupInterval: ko.Observable<DevExpress.Dashboard.Model.DateTimeGroupInterval>

#Property Value

Type
Observable<DateTimeGroupInterval>

#getSpecificType Property

#Declaration

TypeScript
getSpecificType: () => any

#Property Value

Type
() => any

#isEmpty Property

#Declaration

TypeScript
isEmpty: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#setSpecificType Property

#Declaration

TypeScript
setSpecificType: (type: any) => void

#Property Value

Type
(type: any) => void

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

#init Method

#Declaration

TypeScript
init(): void

#isGradient Method

#Declaration

TypeScript
isGradient(): boolean

#Returns

Type
boolean

#isRange Method

#Declaration

TypeScript
isRange(): boolean

#Returns

Type
boolean

#isValid Method

#Declaration

TypeScript
isValid(): boolean

#Returns

Type
boolean