draw-chart
v0.0.7
Published
czj
Downloads
2
Readme
可视化展示数据
czj
安装
npm i draw-chart
配置
import drawChart from "./packages";
new drawChart({
target: '#box',
type: 'line',
xAxis: {
data: ['一月', '二月', '三月', '四月', '五月']
},
server: {
data: [23, 23, 45, 43, 56]
},
position: {
top: 20,
right: 20,
bottom: 20,
left: 20
},
})