= Google Chart API plugin = == Description == Provides a simple way to chart the result of any query. '''NOTE''': This plugin currently uses an eval() statement to turn parameters in Python dict syntax into an actual dictionary. This is convenient, because it means you can pass tuples and lists to the engine. However, it is also quite dangerous, since you are allowing the author of the wiki page to execute arbitrary Python. Until this has been replaced by a more limited parser that only accepts primitive types, do not use this plugin in an environment where you don't trust your users. Patches to fix this would be welcome! H''ow about this? Use JSON. Install simplejson, then in python:'' {{{ >>> args = '["hurray",{"for":"json"}]' >>> import simplejson >>> simplejson.loads(args) ["hurray", {"for":"json"}] }}} == Bugs/Feature Requests == Existing bugs and feature requests for GoogleChartPlugin are [report:9?COMPONENT=GoogleChartPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=GoogleChartPlugin&owner=optilude new ticket]. == Download == Download the zipped source from [download:googlechartplugin here]. == Source == You can check out GoogleChartPlugin from [http://trac-hacks.org/svn/googlechartplugin here] using Subversion, or [source:googlechartplugin browse the source] with Trac. == Example == {{{ [[GChart(query="SELECT id FROM ticket", type="line")]] }}} '''Note''': the following example macros must be entered in a single line. === Simple Pie === {{{ [[GChart(type="pie", chs="250x100", query="SELECT rev FROM revision")]] }}} {{{ #!html }}} See README.txt for more information. == Recent Changes == [[ChangeLog(googlechartplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:optilude] [[BR]] '''Contributors:'''