The requested page is not available for the requested platform. You are viewing the content for Default platform.

ObjectDataSource Class

An object data source that provides data for the dashboard.

Declaration

export class ObjectDataSource extends DataSource implements IFilterableDataSource

Inheritance

constructor

Initializes a new instance of the ObjectDataSource class.

Declaration

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

Optional Parameters

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

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

Properties

filter Property

Declaration

filter: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

Methods

getDisplayNamePrefix Method

Declaration

getDisplayNamePrefix(): string

Returns

Type Description
string

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray