BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 57723 thumbnail
User 262858 avatar

By rdmey
via blog.rebeccamurphey.com
Published: Dec 19 2007 / 12:38

I just got done with a first draft of the graphTable plugin, which lets you take a simple HTML table and turn the data in it into a graph using jQuery and flot. The most basic usage is simple: $('#table1').graphTable({series: 'columns'}); graphTable takes up to two objects as arguments: the first is an object with the arguments for graphTable; the second is an object with arguments to be handed off to flot (read more about flot arguments). The graphTable arguments let you: * choose which parts of the table will be used for the graph data * choose where the graph will go in relation to the table and how big it will be * run a function on cell contents (to remove dollar signs, for example) before passing them to flot
  • 21
  • 0
  • 6405
  • 61

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.