Open URI & problems with google chart params
2008-Mar-05 20:00 UTC
Open URI problems with google chart
Hi: I''m using open-uri for trying to save the png generated with google charts. I need to create a pdf report with charts generated but I need to save thems in some way. the proble is that the url is: http://chart.apis.google.com/chart?chs=480x280&chd=s:sstrutsAAAA&cht=bvg&chco=8DB1E7&chxt=x,y&chxl=0:|6-Jan|13-Jan|20-Jan|27-Jan|3-Feb|10-Feb|17-Feb|24-Feb|2-Mar|9-Mar|16-Mar|1:|0|50|100|150|200|250|300|350|400|450|500&chbh=30,10&chtt=Weekly+actual++++++Weekly+Plan++++++Grap+to+date|469++++++++++++++++++++0++++++++++++++++++++469&chts=000000,11&chf=c,lg,0,E1EAFB,1,FFFFFF,0&chm=s,3399CC,0,5.0,10.0|s,3399CC,0,5.0,10.0| And seems that open-uri doesn''t accept pipes ''|'' , Can anyone help me..? How can I save the images generated for use thems in PDFWriter..... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i have the same problem. i keep getting bad uri with the symbol ^? anyway to make it accept this symbol? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---