Chart.js帮你用不同的方式让你的数据变得可视化。每种类型的图表都有动画效果,并且看上去非常棒,即便是在retina屏幕上。
Chart.js基于HTML5 canvas技术,支持所有现代浏览器,并且针对IE7/8提供了降级替代方案。
Chart.js不依赖任何外部工具库,轻量级(压缩之后仅有4.5k),并且提供了加载外部参数的方法。
教程:http://www.open-open.com/lib/view/open1464182792891.html
更新日志
功能增强
- Performance and minification improvements. See #2491 #2545 #2549 #2551 #2578 #2612 Thanks to @simonbrunel and @niemyjski for their help with performance improvements.
- Provide default tooltip callback implementations for horizontal bar charts #2536
- Added bubble chart docs #2594
- Added a new setting,
gridLines.drawBorder
to allow hiding the border along the edge of an axis.#2574 Thanks @Ceane Documentation files have been improved for basic configuration and axes. See #2625
问题修复
- Fixed horizontal bar outline #2537
- Fixed line tension docs #2535
- Fixed a syntax error in a sample #2568 Thanks @niemyjski
- Error when the first data point for a chart using a time scale was
null
#2519 - Fix an issue where the last tick overlapped. #2589 Thanks @haschu
- Fix an issue with bar widths when there are a lot of bars. #2216
- Fix an issue with scatter lines charts when the X value is passed as a moment js object. #2588Thanks @AllenJB
- Fixed an issue with the doughnut doc labels. #2406
- Doc did not have a note about selecting the correct build #2288
- Null data affected tooltip position #2567
- Documentation chart colours were inconsistent. #2593
下载