DataDashboardItem Class
Declaration
export abstract class DataDashboardItem extends DashboardItem implements IDataItemProvider, IMasterFilterItemsProvider, IColorSignaturesProvider, IDataSourceConsumer
Implements
IDataItemProvider
IMasterFilterItemsProvider
IColorSignaturesProvider
IDataSourceConsumer
constructor
Initializes a new instance of the DataDashboardItem
class.
Declaration
constructor(
dashboardItemJSON?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer,
info?: DevExpress.Dashboard.Metadata.IDashboardSerializationInfoArray
)
Parameters
Name |
Type |
Description |
dashboardItemJSON |
any |
A JSON object used for dashboard deserialization. Do not pass this parameter directly.
|
serializer |
ModelSerializer |
An object used for dashboard deserialization. Do not pass this parameter directly.
|
info |
IDashboardSerializationInfoArray |
An array of objects that provide serialization info.
|
Properties
coloringOptions Property
Provides access to coloring options of the data dashboard items that support coloring.
Declaration
coloringOptions: DevExpress.Dashboard.Model.DashboardItemColoringOptions
Property Value
colorScheme Property
Declaration
colorScheme: ko.ObservableArray<DevExpress.Dashboard.Model.ColorSchemeEntry>
Property Value
dataItems Property
Declaration
dataItems: ko.ObservableArray<DevExpress.Dashboard.Model.DataItem>
Property Value
dataMember Property
Declaration
dataMember: ko.Observable<string>
Property Value
dataSource Property
Gets a data source name to which the current dashboard item is bound.
Declaration
dataSource: ko.Observable<string>
Property Value
Type |
Description |
Observable<string> |
A string that is a data source name.
|
The following code snippet shows how to obtain a data source name for a Grid dashboard item. The Dashboard.findItem method is used to define the Grid by its componentName.
var dataSource = dashboardControl.dashboard().findItem("gridSalesByState").dataSource();
filterString Property
Declaration
filterString: ko.Observable<string>
Property Value
formatRules: ko.ObservableArray<DevExpress.Dashboard.Model.DashboardItemFormatRule>
hiddenDimensions Property
Declaration
hiddenDimensions: ko.ObservableArray<DevExpress.Dashboard.Model.Dimension>
Property Value
hiddenMeasures Property
Declaration
hiddenMeasures: ko.ObservableArray<DevExpress.Dashboard.Model.Measure>
Property Value
isDisposed Property
Declaration
isDisposed: ko.Observable<boolean>
Property Value
isMasterFilterCrossDataSource Property
Declaration
isMasterFilterCrossDataSource: ko.Observable<boolean>
Property Value
visibleDataFilterString Property
Declaration
visibleDataFilterString: ko.Observable<string>
Property Value