progresspie
v1.0.3
Published
DOM 占比饼图的简单实现
Downloads
5
Maintainers
Readme
progresspie
DOM 占比饼图的简单实现
how to use
step 1
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install progresspie --save
或者使用 yarn add progresspie
step 2
import Progresspie from 'progresspie';
- use
<div id="myPie"></div>
var myPie = Progresspie.init(document.getElementById("myPie"));