Tuesday, February 23, 2010

Flot - jQuery Graphing

http://code.google.com/p/flot/

Here is one use of Flot in an app I'm working on:

JS:



Some ruby to fill in the data/ticks variables:



and that's about it. Some tweaking to clean things up, but I now have a nice weight over time graph with appropriate BMI ranges coloring the background.

No comments:

Post a Comment