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?: DxDesigner.Analytics.Utils.ModelSerializer)

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer DxDesigner.Analytics.Utils.ModelSerializer null

An object used for a 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(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

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