[pmwiki-users] integrating google charts
Dr Fred C
drfredc at verizon.net
Wed Jan 9 19:20:37 CST 2008
With some limitations, to display a gchart in a wiki page, right click
on the gchart in your browser and select "copy location". Then
(:includeurl <location> :) into your wiki page. The downside of this is
the chart comes in a portal that fills the rest of your wiki page box.
You can enter text and stuff before it, but not after it. Knowing
pmwiki, there's probably a work around or option to get around this
limitation...
Also, don't try changing anything in the copy location url, like the
image size -- it locks things up.
I'm also not sure of the details of how gchart works. One might be
able to change the chart in google without google giving it a new url --
or not. Ideally your chart would be a fixed url that would allow you
to dynamically change the chart and have it automatically show up
changed in your wiki without having to change the chart's url. However,
things may not work this way. In which case, if you change the gchart
for some reason, you'll have to go and change the chart address in your
wiki.
Jabba Laci wrote:
> Hi,
>
> Google has a very nice chart API:
> http://code.google.com/apis/chart/
>
> Example:
> http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Hello|World
>
> Do you know how to integrate such charts in a PmWiki page?
>
> Thanks,
>
> Laszlo
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
--
Always, Dr Fred C
drfredc at drfredc.com
More information about the pmwiki-users
mailing list