0.6.6 • Published 3 months ago

@univerjs-pro/sheets-chart-ui v0.6.6

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

ChartPlugin

npm version license CSS Included i18n

Installation

Chart Feature provide the ability to insert floating charts based on range data in spreadsheets.

This feature includes the following plugin packages:

  • @univerjs-pro/sheets-chart - Chart plugin
  • @univerjs-pro/sheets-chart-ui - Chart UI plugin
npm install @univerjs-pro/sheets-chart @univerjs-pro/sheets-chart-ui

Usage

import { LocaleType, merge, Univer } from '@univerjs/core';
import { defaultTheme } from "@univerjs/design";
import { UniverSheetsChartPlugin } from '@univerjs-pro/sheets-chart';
import { UniverSheetsChartUIPlugin } from '@univerjs-pro/sheets-chart-ui';
import SheetsChartZhCN from '@univerjs-pro/sheets-chart/locale/zh-CN';
import SheetsChartUIZhCN from '@univerjs-pro/sheets-chart-ui/locale/zh-CN';

import '@univerjs-pro/sheets-chart-ui/lib/index.css';

const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.ZH_CN,
  locales: {
    [LocaleType.ZH_CN]: merge(
      {},
      SheetsChartZhCN,
      SheetsChartUIZhCN
    ),
  },
});

univer.registerPlugin(UniverSheetsChartPlugin);
univer.registerPlugin(UniverSheetsChartUIPlugin);
0.6.6

3 months ago

0.6.5

3 months ago

0.6.3

4 months ago

0.6.4

3 months ago

0.6.2

4 months ago

0.6.1

4 months ago

0.6.0

4 months ago

0.6.0-alpha.0

5 months ago

0.5.5

5 months ago

0.5.4

5 months ago

0.5.3

6 months ago

0.5.2

6 months ago

0.5.1

7 months ago

0.5.0

7 months ago

0.5.0-beta.1

7 months ago

0.5.0-beta.0

7 months ago

0.5.0-alpha.0

7 months ago