SliceTable Class

Declaration

export class SliceTable extends SerializableModel

constructor(_dataItemProvider)

Initializes a new instance of the SliceTable class with specified settings.

Declaration

constructor(
    _dataItemProvider: IDataItemProvider,
    modelJson?: any,
    serializer?: ModelSerializer
)

Parameters

Name Type Description
_dataItemProvider IDataItemProvider
modelJson 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.

Properties

dimensions Property

Declaration

dimensions: ko.ObservableArray<DataItemLink>

Property Value

Type
ObservableArray<DataItemLink>

measures Property

Declaration

measures: ko.ObservableArray<DataItemLink>

Property Value

Type
ObservableArray<DataItemLink>

name Property

Declaration

name: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

push(bindings, dataItemType) Method

Declaration

push(
    bindings: Array<DataItemLink>,
    dataItemType: string
): void

Parameters

Name Type
bindings Array<DataItemLink>
dataItemType string