@univerjs-pro/sheets-sparkline-ui
v1.5.2
Published
Sparkline UI integration for Univer Sheets.
Readme
@univerjs-pro/sheets-sparkline-ui
@univerjs-pro/sheets-sparkline-ui is part of Univer Pro. Sparkline UI integration for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs-pro/sheets-sparkline-ui | UniverProSheetsSparklineUi | Yes | Yes | No | No |
Installation
pnpm add @univerjs-pro/sheets-sparkline-ui
# or
npm install @univerjs-pro/sheets-sparkline-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-sparkline-ui/lib/index.css';
import EnUS from '@univerjs-pro/sheets-sparkline-ui/locale/en-US';
import { UniverSheetSparklineUIPlugin } from '@univerjs-pro/sheets-sparkline-ui';
univer.registerPlugin(UniverSheetSparklineUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
- Import the package stylesheet once in the application entry before rendering Univer UI.
- Import locale files only for the languages your application enables.
