Chart.Js v2.5.0 發布,一個簡單、面向對象、為設計者和開發者準備的圖表繪制庫

jopen 7年前發布 | 12K 次閱讀 Chart.Js 圖表

 

Chart.js幫你用不同的方式讓你的數據變得可視化。每種類型的圖表都有動畫效果,并且看上去非常棒,即便是在retina屏幕上。

Chart.js基于HTML5 canvas技術,支持所有現代瀏覽器,并且針對IE7/8提供了降級替代方案。

Chart.js不依賴任何外部工具庫,輕量級(壓縮之后僅有4.5k),并且提供了加載外部參數的方法。

教程:Chart.js 中文文檔   

更新日志

  • #3570 Removed unused Chart.helpers.cancelAnimFrame method.
  • #3669 onHover callback now has 3 parameters. The 2nd parameter is the event that triggered the hover. This was done for consistency with the onClick callback.
  • #3819 IPlugin.afterScaleUpdate: use IPlugin.afterLayout hook instead.
  • #3819 Extending Chart.PlugingBase is not anymore required and is strongly discouraged, instead create/register plugins using plain JavaScript objects (see this example).
  • #2060 Chart options can now be updated at runtime.
  • #2643 Stacked bar charts now support groupings into smaller stacks. Thanks @potatopeelings
  • #3335 Plugins can now be specified per chart.
  • #1933 Legends can now be hidden dynamically by a plugin at runtime based on the chart size.
  • #2873#3491#3506 Chart elements are clipped when outside the chart area. Thanks @KoyoSE
  • #3208 Slow performance using moment.js. Thanks @tredston
  • #3225 Multiple lines of text are now supported in radar chart labels
  • #3514 Add rectRounded point style. Thanks @cmoel
  • #3818 Removed useless initialization steps to improve performance
  • #2478 Large x axis labels created odd gaps in the chart
  • #2780 Bar chart when data is 0. Thanks @KoyoSE
  • #2879#3354 Rotated labels caused issues on the category axis
  • #3141 Axis width incorrectly used ticks.padding option when measuring
  • #3199 Line Chart border width of 0 was ignored.
  • #3412 Long y axis tick text was cutoff
  • #3381 Infinite loop when in certain cases when generating logarithmic ticks.
  • #3387 Fixed legend text alignment
  • #3408 Monotone cubic interpolation broke when two adjacent points had the same x value
  • #3528 null data caused incorrect tooltips for the time scale. Thanks @Jareechang
  • #3585 Logarithmic stacked bar charts don't draw the first dataset
  • #3589 Wrong category size of bars when x axis has min and max options. Thanks @KoyoSE
  • #3591 Correct radar chart tension settings
  • #3592 Correct radar chart documentation name for point radius setting
  • #3603 Fix crash in dataset interaction mode
  • #3605 Documentation for x-axis interaction mode was incorrect. Thanks @weareoutman
  • #3607 Correct link in animation section of documentation. Thanks @38elements
  • #3618 Tooltip label is incorrect on Bar chart when min is defined. Thanks @KoyoSE
  • #3685 bug when calculating if steps fit into scale as a whole number. Thanks @Tarqwyn
  • #3713 Axis label was cutoff when axis was at top of chart. Thanks @KoyoSE
  • #3717 Removed jQuery code from samples. Thanks @KoyoSE
  • #3739 Incorrect use of animation options in doughnut chart docs. Thanks @NtsDK
  • #3741 Axis labels placed incorrectly when axis is at the top of the chart. Thanks @KoyoSE
  • #3763 Pie charts incorrectly calculated the inner radius when cutout percentage was 0.
  • #3772 Fix incorrect anchor link in docs. Thanks @mdewilde
  • #3788 Fixed docs for using Chart.js with CommonJS and ES6 imports. Thanks @Jareechang
  • #3801 Ignore .gitignore file for Bower
  • #3610 Updated documentation for plugin renames. Thanks @compwright
  • #3635 Upgrade to gulp-uglify v2.0.0 to improve build speed. Thanks @jeffcarey
  • #3718#3795 Refactoring to move platform specific code into it's own module. The ultimate goal is to allow builds for non browser platforms

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/5ebd2248

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!