# Drawr 1.0.1 Released

**URL:** <https://www.ruby-forum.com/t/drawr-1-0-1-released/107679>\
**Category:** Ruby\
**Created:** [June 25, 2007, 8:11am UTC](https://www.ruby-forum.com/t/drawr-1-0-1-released/107679 "2007-06-25T08:11:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [June 25, 2007, 8:11am UTC](https://www.ruby-forum.com/t/drawr-1-0-1-released/107679/1 "2007-06-25T08:11:22Z")

</div>

drawr version 1.0.1 has been released!

- [http://seattlerb.org/](http://seattlerb.org/)

## 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:

 \<%= javascript\_include\_tag 'prototype' %\> \<%= javascript\_include\_tag 'excanvas' %\> \<%= javascript\_include\_tag 'Plotr' %\> \<%= @drawr %\> 

Changes:

## 1.0.1 / 2007-06-24

- 1 minor enhancement

- [http://seattlerb.org/](http://seattlerb.org/)

---

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [June 25, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/drawr-1-0-1-released/107679/2 "2007-06-25T15:17:07Z")

</div>

> to the browser!  
> Hi Aaron, I can’t find anything about drawr on that page you’ve posted  
> (by doing a search for drawr) - I’m missing something?

Any thoughts about exposing a drawing interface, as well as the charting  
interface?

Cheers,  
Benjohn

---

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [June 25, 2007, 6:29pm UTC](https://www.ruby-forum.com/t/drawr-1-0-1-released/107679/3 "2007-06-25T18:29:09Z")

</div>

On Mon, Jun 25, 2007 at 10:14:33PM +0900, removed\_email\_address@domain.invalid wrote:

> > to the browser!
> 
> Hi Aaron, I can’t find anything about drawr on that page you’ve posted  
> (by doing a search for drawr) - I’m missing something?

Ya, we haven’t posted the rdoc for it yet. Just download the gem and  
check out the RDoc. 😉

> Any thoughts about exposing a drawing interface, as well as the charting  
> interface?

I haven’t thought of doing that yet, but I’ll look in to how difficult  
that will be.
