The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ObjectDataSource Class

An object data source that provides data for the dashboard.

Declaration

export class ObjectDataSource extends DataSource implements IFilterableDataSource

Inheritance

DataSource
ObjectDataSource

constructor

Initializes a new instance of the ObjectDataSource class.

Declaration

constructor(dataSourceJSON?: any, serializer?: DxDesigner.Analytics.Utils.ModelSerializer)

Optional Parameters

Type Name Default Description
any dataSourceJSON null
DxDesigner.Analytics.Utils.ModelSerializer serializer null

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

Properties

filter Property

Declaration

filter: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

Methods

getDisplayNamePrefix Method

Declaration

getDisplayNamePrefix(): string

Returns

Type Description
string

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo