DashboardChartBuilder

方法

constructor

定义:

constructor(widget: Y.Map<any>, options?: DashboardChartBuilderOptions<TQueryDSL, TSeedDSL>)

参数:

参数类型说明
widgetY.Map-
options? = {}DashboardChartBuilderOptions<TQueryDSL, TSeedDSL>-

getId

定义:

getId(): string

返回: string

getBuilder

定义:

getBuilder(): VBIChartBuilder<TQueryDSL, TSeedDSL> | undefined

返回: VBIChartBuilder<TQueryDSL, TSeedDSL> \| undefined

setTitle

定义:

setTitle(title: string): this

返回: this

参数:

参数类型说明
titlestring-

setDescription

定义:

setDescription(description: string): this

返回: this

参数:

参数类型说明
descriptionstring-

setChartId

定义:

setChartId(chart: ResourceReference): this

返回: this

参数:

参数类型说明
chartResourceReference-

setLayouts

定义:

setLayouts(layouts: DashboardWidgetLayouts): this

返回: this

参数:

参数类型说明
layoutsDashboardWidgetLayouts-

getLayouts

定义:

getLayouts(): DashboardWidgetLayouts

返回: DashboardWidgetLayouts

toJSON

定义:

toJSON(): VBIDashboardWidget

返回: VBIDashboardWidget