API 参考

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

本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。

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.

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.