# vislite-plugin-chart **Repository Path**: oi-contrib/vislite-plugin-chart ## Basic Information - **Project Name**: vislite-plugin-chart - **Description**: 一些常用的可视化图表库 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-08-23 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: vislite, chart, Echarts ## README # [@vislite/chart](https://github.com/oi-contrib/vislite-plugin-chart) 一些常用的可视化图表库

downloads npm issue GitHub repo stars forks Gitee repo stars forks

NPM ## 如何使用? ``` npm install --save @vislite/canvas ``` 安装后,准备好渲染位置 ```html
``` 然后直接使用(以饼图为例): ```js import { Pie } from "@vislite/chart" let pie = new Pie({ el: document.getElementById("root"), data: [ { value: 1048, name: 'Search Engine' }, { value: 735, name: 'Direct' }, { value: 580, name: 'Email' }, { value: 484, name: 'Union Ads' }, { value: 300, name: 'Video Ads' } ], isRing: true, // 可选 beginDeg: 0, // 可选 deg: Math.PI * 1.5 // 可选 }) ``` 这样一个饼图就出来了: 下面是更多图表明细: - [Pie 饼图](./docs/Pie.md) - [Line 折线图](./docs/Line.md) 更多图表或特性探索设计中,你也可以给我们[ 留言 ](https://github.com/oi-contrib/vislite-plugin-chart/issues),告诉我们你的想法或希望提供的图表! ## 版权 MIT License Copyright (c) [zxl20070701](https://zxl20070701.github.io/notebook/home.html) 走一步,再走一步