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

> Language fallback: requested `zh-CN`; content is `en-US`.

- Human documentation: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs-pro/sheets-pivot-chart-ui](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs-pro/sheets-pivot-chart-ui)

- Agent Markdown: [https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs-pro/sheets-pivot-chart-ui.md](https://docs.univer.ai/zh-CN/reference/packages/plugins/univerjs-pro/sheets-pivot-chart-ui.md)

- Requested language: `zh-CN`

- Content language: `en-US`

- Documentation version: `1.0.0`

- Source: [packages/plugins/univerjs-pro/sheets-pivot-chart-ui.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/packages/plugins/univerjs-pro/sheets-pivot-chart-ui.mdx)

---

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

```ts
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](https://docs.univer.ai/zh-CN/guides/sheets/features/pivot-table.md) and [chart](https://docs.univer.ai/zh-CN/guides/sheets/features/charts.md) 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](https://docs.univer.ai/zh-CN/guides/sheets/features/pivot-chart.md).
