charts html5,GitHub - liuzheng644607/we-charts: Simple HTML5 Charts using the <canvas> tag

Chart.js

68747470733a2f2f7472617669732d63692e6f72672f63686172746a732f43686172742e6a732e7376673f6272616e63683d6d617374657268747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e6e6e69636b2f43686172742e6a732f6261646765732f6770612e73766768747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63686172746a732f43686172742e6a732f62616467652e7376673f6272616e63683d6d6173746572

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736c61636b2d43686172742e6a732d626c75652e737667

Simple HTML5 Charts using the canvas element chartjs.org

Installation

You can download the latest version of Chart.js from the GitHub releases or use a Chart.js CDN.

To install via npm:

npm install chart.js --save

To install via bower:

bower install chart.js --save

Selecting the Correct Build

Chart.js provides two different builds that are available for your use. The Chart.js and Chart.min.js files include Chart.js and the accompanying color parsing library. If this version is used and you require the use of the time axis, Moment.js will need to be included before Chart.js.

The Chart.bundle.js and Chart.bundle.min.js builds include Moment.js in a single file. This version should be used if you require time axes and want a single file to include, select this version. Do not use this build if your application already includes Moment.js. If you do, Moment.js will be included twice, increasing the page load time and potentially introducing version issues.

Documentation

You can find documentation at www.chartjs.org/docs. The markdown files that build the site are available under /docs. Previous version documentation is available at www.chartjs.org/docs/#notes-previous-versions.

Contributing

Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.

For support using Chart.js, please post questions with the chartjs tag on Stack Overflow.

Building and Testing

To build, run gulp build.

To test, run gulp test.

To test against code standards, run gulp lint.

More information on building and testing can be found in gulpfile.js.

Thanks to BrowserStack for allowing our team to test on thousands of browsers.

License

Chart.js is available under the MIT license.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值