Skip to main content
A newer version of this page is available. .

ComplexValue Class

Declaration

export class ComplexValue extends SerializableModel

constructor

Initializes a new instance of the ComplexValue class.

Declaration

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

readonly isInfinity: boolean

Property Value

Type
boolean

type Property

Declaration

type: ko.Observable<string>

Property Value

Type
Observable<string>

value Property

Declaration

value: ko.Observable<any>

Property Value

Type
Observable<any>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

isEmpty Method

Declaration

isEmpty(): boolean

Returns

Type
boolean

setValue(value, type) Method

Declaration

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

Parameters

Name Type
value any
type string