# Excel style graphics with Rails?

**URL:** <https://www.ruby-forum.com/t/excel-style-graphics-with-rails/90306>\
**Category:** Rails\
**Created:** [March 27, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/excel-style-graphics-with-rails/90306 "2007-03-27T17:00:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus\_Jais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/858c86/32.png) [@Markus\_Jais](https://www.ruby-forum.com/u/Markus_Jais)\
**Post date:** [March 27, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/excel-style-graphics-with-rails/90306/1 "2007-03-27T17:00:38Z")

</div>

Hello

I want to create graphs similar to those in Excel  
(like bars) from a database using Rails.  
the graphics should be displayed within a HTML page.

I think SVG might be an option. I have not used it  
before.

but maybe SVG is not the best option here.

it should work in all browsers. maybe later some  
animations will follow.

are there any plugins or libraries that can help with  
the creating 2D graphics ? I search raa and found an  
old SVG library. but that was all.

has anyone used the RVG extension to RMagick ?

best wishes

Markus

–  
Markus Jais  
[http://www.mjais.de](http://www.mjais.de)

* * *

Telefonate ohne weitere Kosten vom PC zum PC: [http://messenger.yahoo.de](http://messenger.yahoo.de)

---

<div class="post-metadata">

**Author:** ![Markus\_Jais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/858c86/32.png) [@Markus\_Jais](https://www.ruby-forum.com/u/Markus_Jais)\
**Post date:** [March 27, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/excel-style-graphics-with-rails/90306/2 "2007-03-27T20:55:35Z")

</div>

[http://nubyonrails.com/pages/gruff](http://nubyonrails.com/pages/gruff)

---

<div class="post-metadata">

**Author:** ![Markus\_Jais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/858c86/32.png) [@Markus\_Jais](https://www.ruby-forum.com/u/Markus_Jais)\
**Post date:** [March 27, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/excel-style-graphics-with-rails/90306/3 "2007-03-27T22:07:55Z")

</div>

> I want to create graphs similar to those in Excel (like bars)  
> from a database using Rails.  
> the graphics should be displayed within a HTML page.

I’m now using webfx charts for this:

[http://webfx.eae.net/dhtml/chart/chart.html](http://webfx.eae.net/dhtml/chart/chart.html)

client-side rendering using the Canvas API. Native implementations exist  
for Safari, Firefox, and Opera, and a couple of google folks wrote an IE  
implementation in Javascript. It’s pretty cool, no worries about  
server-side performance or stability.

I’ve got a couple of patches for the library, actually, but haven’t  
heard back from the developers so I may end up forking it.

- donald
