Chart.Js 2.2.0 RC1發布,一個簡單、面向對象、為設計者和開發者準備的圖表繪制庫
Chart.js幫你用不同的方式讓你的數據變得可視化。每種類型的圖表都有動畫效果,并且看上去非常棒,即便是在retina屏幕上。
Chart.js基于HTML5 canvas技術,支持所有現代瀏覽器,并且針對IE7/8提供了降級替代方案。
Chart.js不依賴任何外部工具庫,輕量級(壓縮之后僅有4.5k),并且提供了加載外部參數的方法。
教程:http://www.baiduhome.net/lib/view/open1464182792891.html
更新日志
功能增強
- New build system #2555
- Adds a new tooltip and hover mode that replicates the
label
mode of Chart.js V1. #2299 Thanks@Mesonyx - Allow stacked scatter charts #2878 Thanks @mtanda
問題修復
- Fixed JSHint warnings #2734 Thanks @simonbrunel
- Fixed the tooltip average position calculation #2826
- Allow passing the value property to the time scale
getPixelForValue
function #2604 #2916 - If no config is passed to the chart, gracefully fail. #2526
spanGaps
option for line chart can now be specified per chart instead of only per dataset- Polar area charts used to be off center #2708
- Fixed typo in tooltip section of docs #2839
- Fixed scale title display in samples #2848 Thanks @ronaldgrn
- Fixed an issue when the time scale had only one point #2741 Thanks @duerahan
- Fixed an issue with tooltip display when one dataset does not have a value. #2789 Thanks @awallat
- Scale docs linked to wrong session #2859 Thanks @azranel
- Default to a 0 starting point for polar area graphs #2809
- Fixed an issue with pie and doughnut chart hover border clipping #2844 Thanks @neilmacintyre
- Fixed a typo in the docs #2888
- Fixed a typo in the bar chart docs #2897 Thanks @jimkring
- Improve documentation regarding
offsetGridLines
option #2894 Thanks @moberwasserlechner - Fix an issue when clicking on the label of a category scale #2802
- Tooltip
xAlign
andyAlign
were swapped. #2923 Thanks @jeffesp - Fix typo in the docs #2936 Thanks @gitname
- Add wikipedia link for DRY acronym #2905 Thanks @shuson
- Fix
null
labels affecting tooltips #2875 Thanks @Mesonyx - Fix docs typo #2961 Thanks @moberwasserlechner
- Fixed an issue with numerical data sent to the chart as strings when the axis was stacked #2915
下載
- 435 KBChart.bundle.js
- 184 KBChart.bundle.min.js
- 300 KBChart.js
- 137 KBChart.min.js
- Source code (zip)
- Source code (tar.gz)
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!