drawr version 1.0.1 has been released!
Jun 24, 2007 @ 11:09 pmDESCRIPTION:
This is a ruby wrapper around Plotr with a similar API to Gruff. You can create graphs with a similar interface to Gruff, but offload the rendering to the browser!
FEATURES/PROBLEMS:
- Needs more tests!
SYNOPSIS:
An example in rails. Your controller:
class GraphController < ApplicationController def index @drawr = Drawr::Pie.new @drawr.title = “Twan” @drawr.data(“One”, [1]) @drawr.data(‘Two’, [2]) @drawr.data(‘Three’, [2]) @drawr.data(‘Four’, [10]) @drawr.data(‘Five’, [6]) end end
Your view:
Changes:
1.0.1 / 2007-06-24
-
1 minor enhancement
- Updated documentation