5 messages in com.googlegroups.google-mashup-editorRe: google charts in google mashups| From | Sent On | Attachments |
|---|---|---|
| david lópez | 26 Mar 2008 04:12 | |
| Jason | 26 Mar 2008 19:04 | |
| david lópez | 27 Mar 2008 14:32 | |
| Jason | 02 Apr 2008 18:18 | |
| david lópez | 13 Apr 2008 23:26 |
| Subject: | Re: google charts in google mashups![]() |
|---|---|
| From: | Jason (gmej...@google.com) |
| Date: | 03/26/2008 07:04:07 PM |
| List: | com.googlegroups.google-mashup-editor |
Hi. GME can only fetch RSS- and Atom-formatted feeds at this time. Judging by your element name, I assume that you are trying to fetch arbitrary XML, which may be the problem here. Otherwise, your technique should work as far as I can tell.
One idea you may consider is storing the relevant chart parameters (e.g. data values, labels, etc.) in a feed and build the chart dynamically from these parsed values. Let me know if you're interested in this technique and I can provide you with more information.
Happy mashing! - Jason
On Mar 26, 4:13 am, david lópez <davi...@googlemail.com> wrote:
Hi, I would like to generate "on demand" some charts in a mashup, my approach is as follows:
1- I have a remote XML file containing an item such as;
<historic_data>http://chart.apis.google.com/chart? cht=lc&chs=200x125&chd=s:ATSTaVd21981uocA&chco=224499&chxt=x,y&chxl=0:| Sep|Oct|Nov|Dec|1:||50|100&chm=B,76A4FB,0,0,0<historic_data>
2- the mashup then parses this item and by means of
<gm:image ref="atom:historic_data" width="10" height="10"/>
Then the image should be generated by google chart and further displayed by the mashup.
However this fails to work, I suspect this has to do with & symbol but so far i haven´t managed to get it work.
Any suggestion ?
Is there any other cleverer way to generate graphs "on the fly" ?




