OlapDataSource Class
An OLAP data source that provides data for the dashboard.
#Declaration
TypeScript
export class OlapDataSource extends DataSource
#Inherited Members
#Inheritance
SerializableModel
TypedSerializableModel
DataSource
OlapDataSource
#constructor
Initializes a new instance of the OlapDataSource
class.
#Declaration
TypeScript
constructor(
dataSourceJSON?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
data |
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
#connectionName Property
#Declaration
TypeScript
connectionName: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#Methods
#getDisplayNamePrefix Method
Gets the display name of the current data source.
#Declaration
TypeScript
getDisplayNamePrefix(): string
#Returns
Type | Description |
---|---|
string | A string that is the display name of the current data source. |
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |