Référence de l’API

@univerjs-pro/sheets-pivot-chart-ui

Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.

Insertion controls, PivotChart field panels, and chart configuration UI for Sheets.

TypeScript
import { UniverSheetsPivotChartPlugin } from '@univerjs-pro/sheets-pivot-chart'import { UniverSheetsPivotChartUIPlugin } from '@univerjs-pro/sheets-pivot-chart-ui'import SheetsPivotChartUIEnUS from '@univerjs-pro/sheets-pivot-chart-ui/locale/en-US'import { LocaleType } from '@univerjs/core'import '@univerjs-pro/sheets-pivot-chart-ui/lib/index.css'univerAPI.loadLocales(LocaleType.EN_US, SheetsPivotChartUIEnUS)univer.registerPlugin(UniverSheetsPivotChartPlugin)univer.registerPlugin(UniverSheetsPivotChartUIPlugin)

Add this to the existing PivotTable and chart plugin setup. Merge SheetsPivotChartUIEnUS into the application's locales before creating the workbook.

IUniverSheetsPivotChartUIConfig accepts menu?: MenuConfig. This UI package has no Facade entry; import @univerjs-pro/sheets-pivot-chart/facade for the model APIs.

The advanced Sheets preset includes these plugins. See the PivotChart guide.

Que pensez-vous de ce guide ?

© 2026 DreamNum Co., Ltd.