# Help - Google Charts on Rails Plugin

**URL:** <https://www.ruby-forum.com/t/help-google-charts-on-rails-plugin/191129>\
**Category:** Rails\
**Created:** [July 6, 2010, 8:00am UTC](https://www.ruby-forum.com/t/help-google-charts-on-rails-plugin/191129 "2010-07-06T08:00:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juliana\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Juliana\_C](https://www.ruby-forum.com/u/Juliana_C)\
**Post date:** [July 6, 2010, 8:00am UTC](https://www.ruby-forum.com/t/help-google-charts-on-rails-plugin/191129/1 "2010-07-06T08:00:25Z")

</div>

Hello,

I’m starting at the RR, and I’m trying to use google charts to generate  
some  
graphs in a single plugin in rails. But I’m testing the samples that are  
giving errors. I think it must be configuration error. Someone who has  
used  
google charts on rails help me?

Since already thank you!

Juliana.

=================================================================

OlÃ¡,

Estou inicando no RR, e estou tentando usar o google charts para gerar  
uns  
grÃ¡ficos simples em um plugin no rails. Mas os exemplos que estou  
testando  
estÃ£o dando erros. Acho que deve ser erro de configuraÃ§Ã£o. AlguÃ©m que jÃ¡  
usou o google charts no rails poderia me ajudar?

Desde jÃ¡ muito obrigada!

Juliana.

---

<div class="post-metadata">

**Author:** ![Juliana\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Juliana\_C](https://www.ruby-forum.com/u/Juliana_C)\
**Post date:** [July 6, 2010, 3:24pm UTC](https://www.ruby-forum.com/t/help-google-charts-on-rails-plugin/191129/2 "2010-07-06T15:24:15Z")

</div>

Hi Juliana,

On Mon, Jul 5, 2010 at 4:48 PM, Juliana C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I’m starting at the RR, and I’m trying to use google charts to generate some  
> graphs in a single plugin in rails. But I’m testing the samples that are  
> giving errors. I think it must be configuration error. Someone who has used  
> google charts on rails help me?

You’ll need to provide more information in order to get help. What  
plugin are you using? Show a small example of how you’re using it,  
and the error that you’re getting.

Best regards,  
Bill

---

<div class="post-metadata">

**Author:** ![Juliana\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Juliana\_C](https://www.ruby-forum.com/u/Juliana_C)\
**Post date:** [July 7, 2010, 3:20am UTC](https://www.ruby-forum.com/t/help-google-charts-on-rails-plugin/191129/3 "2010-07-07T03:20:52Z")

</div>

Sorry, I’ll explain it better.

Well, I’m starting in rails now and was testing some things with  
plugins. I  
wanted to create some graphs in my plugin to generate reports using the  
google charts to show the data that was saved in the db. I was not able  
to  
generate the chart, but I managed to run one of an example. Only now I  
have  
a new problem, my plugin needs to access a data class from another  
plugin so  
I can take the data bank, but when I try to see if they sought the data  
only  
appears so: #.

For example: @dados = Resposta.find(:all, :conditions =\> [“nota = ? AND  
pergunta\_id = ?”, “1”, “2”])

This class ‘Resposta’ is another plugin, how do you get these figures in  
my  
class the plugin I’m doing? I need them so I can use in my chart.

Since already many thanks to all!

============================================================

Me desculpe, vou me explicar melhor.

Bom, eu estou iniciando no rails agora e estava testando algumas coisas  
com  
plugins. Eu queria criar uns grÃ¡ficos no meu plugin de geraÃ§Ã£o de  
relatÃ³rios  
usando o google charts pra mostrar os dados que foram salvos no banco.  
Eu  
nÃ£o estava conseguindo gerar grÃ¡fico, mas consegui rodar um de um  
exemplo.  
SÃ³ que agora estou com um novo problema, meu plugin precisa acessar uns  
dados de classe de outro plugin pra poder pegar os dados do banco, mas  
quando eu tento ver se buscou os dados sÃ³ aparece isso: # .

Por exemplo: @dados = Resposta.find(:all, :conditions =\> [“nota = ? AND  
pergunta\_id = ?”, “1”, “2”]).

Esta classe ‘Resposta’ Ã© de outro plugin, como faÃ§o pra obter estes  
dados na  
minha classe do plugin que estou fazendo? Preciso deles pra poder usar  
no  
meu grÃ¡fico.

Desde jÃ¡ muito obrigada a todos!

= Juliana C. =

2010/7/6 Bill W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
