ComplexValue Class
#Declaration
TypeScript
export class ComplexValue extends SerializableModel
#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 |
---|---|---|
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
#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 |
---|---|
ISerialization |
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 |