canvasjs-master

所属分类:其他
开发工具:Windows_Unix
文件大小:751KB
下载次数:1
上传日期:2020-06-18 18:23:39
上 传 者emidata
说明:  canvajs for javascrit web

文件列表:
.babelrc (43, 2019-12-06)
.eslintrc (527, 2019-12-06)
.npmignore (27, 2019-12-06)
dist (0, 2019-12-06)
dist\canvasjs.2.js (488986, 2019-12-06)
dist\canvasjs.3.js (489512, 2019-12-06)
dist\canvasjs.js (1743439, 2019-12-06)
dist\canvasjs.min.js (241365, 2019-12-06)
dist\jquery.canvasjs.js (1310, 2019-12-06)
dist\jquery.canvasjs.min.js (237740, 2019-12-06)
examples (0, 2019-12-06)
examples\area_chart.html (834, 2019-12-06)
examples\bar_chart.html (833, 2019-12-06)
examples\bubble_chart.html (836, 2019-12-06)
examples\column_chart.html (836, 2019-12-06)
examples\commonjs (0, 2019-12-06)
examples\commonjs\index.html (199, 2019-12-06)
examples\commonjs\index.js (613, 2019-12-06)
examples\commonjs\package-lock.json (88967, 2019-12-06)
examples\commonjs\package.json (388, 2019-12-06)
examples\line_chart.html (834, 2019-12-06)
examples\pie_chart.html (833, 2019-12-06)
examples\scatter_chart.html (837, 2019-12-06)
examples\stacked_area_100_chart.html (844, 2019-12-06)
examples\stacked_area_chart.html (841, 2019-12-06)
jsdoc.conf (0, 2019-12-06)
package-lock.json (104263, 2019-12-06)
package.json (1261, 2019-12-06)
src (0, 2019-12-06)
src\charts (0, 2019-12-06)
src\charts\area.js (6185, 2019-12-06)
src\charts\bar.js (5466, 2019-12-06)
src\charts\bubble.js (5622, 2019-12-06)
src\charts\candlestick.js (7153, 2019-12-06)
src\charts\column.js (5584, 2019-12-06)
src\charts\index.js (1024, 2019-12-06)
src\charts\pie.js (43361, 2019-12-06)
... ...

CanvasJS, as depicted in its [official website](http://canvasjs.com), is a charting library: > CanvasJS is an easy to use JavaScript & HTML5 Charts library built on Canvas element. It runs across devices including iPhone, iPad, Android, Windows Phone, Microsoft Surface, Desktops, etc. This allows you to create rich dashboards that work on all the devices without compromising on maintainability or functionality of your web application. CanvasJS comes with beautiful themes and is over 10x faster than conventional Flash and SVG Charts “ resulting in lightweight, beautiful and responsive dashboards. ## Download ``` npm install canvasjs ``` ## Getting Started First of all, you need to import it. This can be achieved in different ways depending up on what module definition pattern your application is using. The CanvasJS package works by default with CommonJS so you can use it with browserify/webpack as shown below: ```js // CommonJS var CanvasJS = require('canvasjs'); // If you are using ES6, then import CanvasJS from 'canvasjs'; ``` It is also possible to use it with AMD loaders as Require.js. If so, you can import it this way: ```js // AMD require('canvasjs/dist/canvasjs.js', function(CanvasJS){ // Add your stuff here }); ``` Finally, you may also import it as a global dependence: ```html