The requested page is not available for the requested platform. You are viewing the content for Default platform.

FormatConditionBase Class

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

Declaration

export abstract class FormatConditionBase extends SerializableModel

constructor

Initializes a new instance of the FormatConditionBase class.

Declaration

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

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer ModelSerializer null

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

Properties

dataType Property

Declaration

dataType: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

dateTimeGroupInterval Property

Declaration

dateTimeGroupInterval: ko.Observable<any>

Property Value

Type Description
ko.Observable<any>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type Description
() => any

isEmpty Property

Declaration

isEmpty: ko.Observable<boolean>

Property Value

Type Description
ko.Observable<boolean>

setSpecificType Property

Declaration

setSpecificType: (type: any) => void

Property Value

Type Description
(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 Description
boolean

isRange Method

Declaration

isRange(): boolean

Returns

Type Description
boolean

isValid Method

Declaration

isValid(): boolean

Returns

Type Description
boolean