DashboardInsightBuilder

方法

constructor

定义:

constructor(widget: Y.Map<any>, options?: DashboardInsightBuilderOptions)

参数:

参数类型说明
widgetY.Map-
options? = {}DashboardInsightBuilderOptions-

getId

定义:

getId(): string

返回: string

getBuilder

定义:

getBuilder(): VBIInsightBuilder | undefined

返回: VBIInsightBuilder \| undefined

setTitle

定义:

setTitle(title: string): this

返回: this

参数:

参数类型说明
titlestring-

setDescription

定义:

setDescription(description: string): this

返回: this

参数:

参数类型说明
descriptionstring-

setInsightId

定义:

setInsightId(insight: ResourceReference): this

返回: this

参数:

参数类型说明
insightResourceReference-

setLayouts

定义:

setLayouts(layouts: DashboardWidgetLayouts): this

返回: this

参数:

参数类型说明
layoutsDashboardWidgetLayouts-

getLayouts

定义:

getLayouts(): DashboardWidgetLayouts

返回: DashboardWidgetLayouts

toJSON

定义:

toJSON(): VBIDashboardWidget

返回: VBIDashboardWidget