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

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

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