DashboardChartCollectionBuilder

Methoden

constructor

Definition:

constructor(doc: Y.Doc, dsl: Y.Map<any>, dashboardBuilder: TDashboardBuilder)

Parameter:

ParameterTypBeschreibung
docY.Doc-
dslY.Map-
dashboardBuilderTDashboardBuilder-

add

Definition:

add(callback: (chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void): TDashboardBuilder

Rückgabe: TDashboardBuilder

Parameter:

ParameterTypBeschreibung
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

update

Definition:

update(widgetId: string, callback: (chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void): TDashboardBuilder

Rückgabe: TDashboardBuilder

Parameter:

ParameterTypBeschreibung
widgetIdstring-
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

remove

Definition:

remove(widgetId: string): TDashboardBuilder

Rückgabe: TDashboardBuilder

Parameter:

ParameterTypBeschreibung
widgetIdstring-

get

Definition:

get(widgetId: string): DashboardChartBuilder<TQueryDSL, TSeedDSL> | undefined

Rückgabe: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

Parameter:

ParameterTypBeschreibung
widgetIdstring-

find

Definition:

find(id: string): DashboardChartBuilder<TQueryDSL, TSeedDSL> | undefined

Rückgabe: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

Parameter:

ParameterTypBeschreibung
idstring-

findAll

Definition:

findAll(): DashboardChartBuilder<TQueryDSL, TSeedDSL>[]

Rückgabe: DashboardChartBuilder<TQueryDSL, TSeedDSL>[]

toJSON

Definition:

toJSON(): VBIDashboardWidget[]

Rückgabe: VBIDashboardWidget[]