@univerjs-pro/sheets-chart-ui v0.5.4
Class: SheetsChartUIController
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:37
Extends
Constructors
new SheetsChartUIController()
new SheetsChartUIController(
_drawingManagerService,
_univerInstanceService,
_injector,
_chartModelService,
_sidebarService,
_componentManager,
_menuManagerService,
_sheetInterceptorService,
_sheetCanvasPopManagerService,
_commandService,
_sheetsChartUIService,
_contextService): SheetsChartUIController
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:40
Parameters
Parameter | Type |
---|---|
_drawingManagerService | IDrawingManagerService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_chartModelService | ChartModelService |
_sidebarService | ISidebarService |
_componentManager | ComponentManager |
_menuManagerService | IMenuManagerService |
_sheetInterceptorService | SheetInterceptorService |
_sheetCanvasPopManagerService | SheetCanvasPopManagerService |
_commandService | ICommandService |
_sheetsChartUIService | SheetsChartUIService |
_contextService | IContextService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
_menuManagerService | readonly | IMenuManagerService | undefined | - | packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:47 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getChartPopupMenus()
getChartPopupMenus(
unitId,
subUnitId,
drawingId,
drawingType): (
| {
commandId: string;
commandParams: {
drawingId: string;
drawings: undefined;
subUnitId: string;
unitId: string;
};
disable: boolean;
index: number;
label: string;
}
| {
commandId: string;
commandParams: {
drawingId: undefined;
drawings: {
drawingId: string;
drawingType: DrawingTypeEnum;
subUnitId: string;
unitId: string;
}[];
subUnitId: undefined;
unitId: string;
};
disable: boolean;
index: number;
label: string;
})[]
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:174
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
drawingId | string |
drawingType | DrawingTypeEnum |
Returns
(
| {
commandId
: string
;
commandParams
: {
drawingId
: string
;
drawings
: undefined
;
subUnitId
: string
;
unitId
: string
;
};
disable
: boolean
;
index
: number
;
label
: string
;
}
| {
commandId
: string
;
commandParams
: {
drawingId
: undefined
;
drawings
: {
drawingId
: string
;
drawingType
: DrawingTypeEnum
;
subUnitId
: string
;
unitId
: string
;
}[];
subUnitId
: undefined
;
unitId
: string
;
};
disable
: boolean
;
index
: number
;
label
: string
;
})[]
hidePanel()
hidePanel(): void
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:97
Returns
void
initPanel()
initPanel(): void
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:102
Returns
void
openChartPanelById()
openChartPanelById(chartId): void
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:159
Parameters
Parameter | Type |
---|---|
chartId | string |
Returns
void
registerChartIcons()
registerChartIcons(): void
Defined in: packages/sheets-chart-ui/src/controllers/sheets-chart-ui.controller.ts:69
Returns
void