FormatConditionBase Class
Serves as a base for classes that represent format conditions used to apply formatting.
#Declaration
TypeScript
export abstract class FormatConditionBase extends SerializableModel
#Inheritance
#constructor
Initializes a new instance of the FormatConditionBase
class.
#Declaration
TypeScript
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
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<Date |
#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 |
---|---|
ISerialization |
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 |