Skip to main content

ComplexValue Class

#Declaration

TypeScript
export class ComplexValue extends SerializableModel

#Inherited Members

#Inheritance

SerializableModel
ComplexValue

#constructor

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

#isInfinity Property

#Declaration

TypeScript
get isInfinity(): boolean

#Property Value

Type
boolean

#type Property

#Declaration

TypeScript
type: ko.Observable<string>

#Property Value

Type
Observable<string>

#value Property

#Declaration

TypeScript
value: ko.Computed<any>

#Property Value

Type
Computed<any>

#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.

#isEmpty Method

#Declaration

TypeScript
isEmpty(): boolean

#Returns

Type
boolean

#setValue(value, type) Method

#Declaration

TypeScript
setValue(
    value: any,
    type: string
): void

#Parameters

Name Type
value any
type string