DataSource Class

Declaration

export abstract class DataSource extends TypedSerializableModel implements IDashboardComponent

constructor

Declaration

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

Parameters

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

Properties

calculatedFields Property

Declaration

calculatedFields: KnockoutObservableArray<CalculatedField>

Property Value

Type Description
KnockoutObservableArray<CalculatedField>

componentName Property

Declaration

componentName: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

hasCalculatedFields Property

Declaration

hasCalculatedFields: boolean

Property Value

Type Description
boolean

name Property

Declaration

name: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

supportDataMembers Property

Declaration

supportDataMembers: boolean

Property Value

Type Description
boolean

title Property

Declaration

title: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

Methods

getDisplayNamePrefix Method

Declaration

abstract getDisplayNamePrefix(): string

Returns

Type Description
string

getInfo Method

Declaration

abstract getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo

getJson Method

Declaration

getJson(): any

Returns

Type Description
any

getUniqueNamePrefix Method

Declaration

getUniqueNamePrefix(): string

Returns

Type Description
string