Project

drawr

0.0
No release in over 3 years
== DESCRIPTION: 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: <html> <head> <%= javascript_include_tag 'prototype' %> <%= javascript_include_tag 'excanvas' %> <%= javascript_include_tag 'Plotr' %> </head> <body> <%= @drawr %> </body> </html>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.2.1