RubyGems Navigation menu

drawr 1.0.1

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>

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 1.0.1 - June 24, 2007* (6,5 KB)
  2. 1.0.0 - April 24, 2007* (6 KB)

dependencias de Runtime (1):

hoe >= 1.2.1

Propietarios:

Autores:

  • Aaron Patterson

SHA 256 checksum:

2804e2b4e96876f7a44735b9075963c858192e6120d7faa2e9403064cfcfa895

Total de descargas 9.471

Para esta versión 5.395

Licencias:

N/A

Versión de Ruby requerida: > 0.0.0

Enlace: