DashboardChartCollectionBuilder

Méthodes

constructor

Définition:

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

Paramètres:

ParamètreTypeDescription
docY.Doc-
dslY.Map-
dashboardBuilderTDashboardBuilder-

add

Définition:

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

Retour: TDashboardBuilder

Paramètres:

ParamètreTypeDescription
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

update

Définition:

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

Retour: TDashboardBuilder

Paramètres:

ParamètreTypeDescription
widgetIdstring-
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

remove

Définition:

remove(widgetId: string): TDashboardBuilder

Retour: TDashboardBuilder

Paramètres:

ParamètreTypeDescription
widgetIdstring-

get

Définition:

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

Retour: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

Paramètres:

ParamètreTypeDescription
widgetIdstring-

find

Définition:

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

Retour: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

Paramètres:

ParamètreTypeDescription
idstring-

findAll

Définition:

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

Retour: DashboardChartBuilder<TQueryDSL, TSeedDSL>[]

toJSON

Définition:

toJSON(): VBIDashboardWidget[]

Retour: VBIDashboardWidget[]