DashboardChartCollectionBuilder

メソッド

constructor

定義:

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

パラメータ:

パラメータ説明
docY.Doc-
dslY.Map-
dashboardBuilderTDashboardBuilder-

add

定義:

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

戻り値: TDashboardBuilder

パラメータ:

パラメータ説明
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

update

定義:

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

戻り値: TDashboardBuilder

パラメータ:

パラメータ説明
widgetIdstring-
callback(chart: DashboardChartBuilder<TQueryDSL, TSeedDSL>) => void-

remove

定義:

remove(widgetId: string): TDashboardBuilder

戻り値: TDashboardBuilder

パラメータ:

パラメータ説明
widgetIdstring-

get

定義:

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

戻り値: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

パラメータ:

パラメータ説明
widgetIdstring-

find

定義:

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

戻り値: DashboardChartBuilder<TQueryDSL, TSeedDSL> \| undefined

パラメータ:

パラメータ説明
idstring-

findAll

定義:

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

戻り値: DashboardChartBuilder<TQueryDSL, TSeedDSL>[]

toJSON

定義:

toJSON(): VBIDashboardWidget[]

戻り値: VBIDashboardWidget[]