@univerjs-pro/engine-chart 0.21.1 → 0.22.0-insiders.20260513-09bbeca

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,26 +1,34 @@
1
- # EngineChart
1
+ # @univerjs-pro/engine-chart
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@univerjs-pro/engine-chart?style=flat-square)](https://npmjs.com/package/@univerjs-pro/engine-chart)
4
+ [![downloads](https://img.shields.io/npm/dm/@univerjs-pro/engine-chart?style=flat-square)](https://npmjs.com/package/@univerjs-pro/engine-chart)
3
5
 
4
- [![npm version](https://img.shields.io/npm/v/@univerjs-pro/sheets-chart-ui)](https://npmjs.org/packages/@univerjs-pro/sheets-chart-ui)
5
- [![license](https://img.shields.io/npm/l/@univerjs-pro/sheets-chart-ui)](https://img.shields.io/npm/l/@univerjs-pro/sheets-chart-ui)
6
- ![CSS Included](https://img.shields.io/badge/CSS_Included-blue?logo=CSS3)
7
- ![i18n](https://img.shields.io/badge/zh--CN%20%7C%20en--US-cornflowerblue?label=i18n)
6
+ `@univerjs-pro/engine-chart` provides chart data model and rendering utilities for Univer Pro.
8
7
 
9
- This plugin provide the ability convert data to echart spec and the base chart components.
8
+ ## Package Overview
10
9
 
10
+ | Package | UMD global | CSS | Locales | Facade entry |
11
+ | --- | --- | :---: | :---: | :---: |
12
+ | `@univerjs-pro/engine-chart` | `UniverProEngineChart` | No | No | No |
11
13
 
12
- ### Installation
14
+ ## Installation
13
15
 
14
- Chart Feature provide the ability to insert floating charts based on range data in spreadsheets.
16
+ ```sh
17
+ pnpm add @univerjs-pro/engine-chart
18
+ # or
19
+ npm install @univerjs-pro/engine-chart
20
+ ```
15
21
 
16
- This feature includes the following plugin packages:
22
+ Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
17
23
 
18
- - `@univerjs-pro/sheets-chart` - Chart plugin
19
- - `@univerjs-pro/sheets-chart-ui` - Chart UI plugin
24
+ ## Usage
20
25
 
21
- ```shell npm2yarn
22
- npm install @univerjs-pro/sheets-chart @univerjs-pro/sheets-chart-ui
26
+ ```ts
27
+ import { buildChartData, ChartModel } from '@univerjs-pro/engine-chart';
23
28
  ```
24
29
 
30
+ ## Resources
25
31
 
32
+ - [Documentation](https://docs.univer.ai/guides/pro)
33
+ - [NPM package](https://npmjs.com/package/@univerjs-pro/engine-chart)
26
34