代码改变世界

能够将 HTML 表格转换成图表的jQuery插件:Chartinator

2015-04-08 10:11  RTdo  阅读(557)  评论(0编辑  收藏  举报

点这里

 

一个jQuery 插件能够将HTML 表格转换成图表,使用 Google Charts 实现。

能够将 HTML 表格转换成图表的jQuery插件:Chartinator

Chartinator当前支持以下特性:

  • Creation of the following chart types using Google ChartsExtraction of data from HTML tables, Google spreadsheets, and JavaScript arrays
    • Bar Chart
    • Pie Chart
    • Column Chart
    • Calendar
    • Geo Chart
    • Table Chart with data column formatter
  • Accessible data - Using HTML tables as data sources makes data accessible to screen readers and searchbots
  • Showing and hiding of HTML tables accessibly
  • Manipulation of data extracted from HTML tables and Google Sheets using JavaScript arrays
  • Transposition of data - swapping of rows and columns
  • Resizing of charts on screen resize - Responsive Web Design
  • Chart aspect ratio control
  • Customization of chart tooltips and annotations
  • Customization of all Google Chart options - Fonts, colors, chart formatting, etc.

https://github.com/jbowyers/chartinator