@univerjs-pro/sheets-pivot-chart-ui
v1.5.2
Published
Pivot chart UI integration for Univer Sheets.
Readme
@univerjs-pro/sheets-pivot-chart-ui
@univerjs-pro/sheets-pivot-chart-ui is part of Univer Pro. It provides the PivotChart field and chart configuration panels for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs-pro/sheets-pivot-chart-ui | UniverProSheetsPivotChartUi | Yes | Yes | No | No |
Installation
pnpm add @univerjs-pro/sheets-pivot-chart-ui
# or
npm install @univerjs-pro/sheets-pivot-chart-uiUsage
Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs-pro/sheets-pivot-chart-ui/lib/index.css';
import EnUS from '@univerjs-pro/sheets-pivot-chart-ui/locale/en-US';
import { UniverSheetsPivotChartUIPlugin } from '@univerjs-pro/sheets-pivot-chart-ui';
univer.registerPlugin(UniverSheetsPivotChartUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
- Register
@univerjs-pro/sheets-pivot-chartbefore using this UI package. - Import the package stylesheet once in the application entry before rendering Univer UI.
- Import locale files only for the languages your application enables.
