Univer is an open-source alternative to the Office suite, including spreadsheets, documents, and presentations. It currently offers features such as formulas, number formatting, conditional formatting, data validation, and text-image mixing. You can integrate Univer into your system and develop personalized business requirements based on Univer.
univer-vchart-plugin is a plugin encapsulated based on Univer, allowing you to quickly insert vchart charts into Univer.
Quick Start
Installation
# Install using npm
npm install @visactor/univer-vchart-plugin
# Install using yarn
yarn add @visactor/univer-vchart-plugin
Usage
Register the plugin
import { UniverVChartPlugin } from '@visactor/univer-vchart-plugin';
export function setupUniver() {
const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: enUS
}
});
univer.registerPlugin(UniverVChartPlugin);
}