Questions answered by this recipe
Is it possible to use Google Chart API to describe a chart inside a wiki and let it be generated by Google?
The recipe introduces a new markup to describe a Google-Chart.
- Put the file gchart_2008-01-12.phpΔ in your cookbook-directory
- Add the following line to your config.php file:
This first version only supports the three obligatory parameters:
- chart data (as documented here)
- type of chart (as documented here)
- size of the chart separated in xsize and ysize
So the resulting markup may look like this example: (:gchart data=abfgij xsize=150 ysize=100 type=lc:)
which would display as .
There is still much to improve. So the encoding is inexpedient for a wiki author and more parameters should be supported.
User should keep in mind, that their data is sent to Google...
This is a first release. It is more or less a proof of concept than a solution. If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".
A solution for MediaWiki http://code.google.com/p/gchart4mw
See discussion at GoogleChart-Talk