borken-line-chart(折线图)
安装方式
via npm
npm install broken-line-chart
via yarn
yarn add broken-line-chart
via cdn
如何使用
const el = document;const size = width:400 height:400;const data = lineColor:'rgb(12,142,175)' textColor:"rgb(255,255,255)" pointColor:'rgb(128, 191, 255)' pointSize:4 lineWidth:3 data: value:03 text:'16℃' offest:-02 value:05 text:'17℃' offest:-02 value:08 text:'20℃' offest:-02 value:08 text:'20℃' offest:-02 ;const animate = ;; // 调用动画