@ywfe/yw-charts
v0.1.1
Published
YWFE图表库
Downloads
9
Readme
图表组件 Charts
遥望图表组件库
@ywfe/yw-charts
图表目录
快速开始/Quick Start
本地安装
# 依赖
npm install @ant-design/charts --save
# 线上文档 https://unpkg.ywwl.com/@ywfe/yw-charts@latest/build/index.html
npm install @ywfe/yw-charts@latest --save
CDN
<!-- 依赖 antDesignCharts -->
<script src='https://cdn.ywwl.com/libs/@ant-design/charts/1.4.2/charts.min.js'></script>
<!-- Css umd -->
<link rel="stylesheet" href="https://cdn.ywwl.com/libs/@ywfe/yw-charts/0.1.0/index.umd.css">
<!-- js umd -->
<script src="https://cdn.ywwl.com/libs/@ywfe/yw-charts/0.1.0/index.umd.js"></script>
引用组件
import { YwLineChart } from '@ywfe/yw-charts';
import { YwAreaChart } from '@ywfe/yw-charts';
import { YwColumnChart } from '@ywfe/yw-charts';
import { YwDualAxesChart } from '@ywfe/yw-charts';
import { YwPieChart } from '@ywfe/yw-charts';
具体每个图表使用方法。参考 DEMO 。