基于canvas实现的图表插件

charts

a lightweight canvas chart library -- for mobile

DOC & VIEW Quickstart

$ git clone https://github.com/wineSu/charts.git $ cd charts $ npm i $ npm run dev $ npm run build Usage

const lineChart = Charts({ id:'can1', type:'line', data:[{ xVal:'5-26', yVal:40 },{ xVal:'5-27', yVal:20 },{ xVal:'5-28', yVal:30 },{ xVal:'5-29', yVal:80 },{ xVal:'5-30', yVal:60 },{ xVal:'6-01', yVal:20 }] }); ... TODO

will create a tools like zrender

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。