Allows to embed simple chart graphics using the Google Chart API
Compatible with DokuWiki
Similar to chart, chart2, charter, googlechart, pchart
Download and install the plugin using the Plugin Manager using the download link given above. Refer to Plugins on how to install plugins manually.
Let's start with an example:
<gchart 350x120 pie3d #0000ff #ffffff right> Apples = 33 Peaches = 23 Strawberries = 25 Peanuts = 7 </gchart>
As you can see, the usage is simple. You give your data as name=value pairs inside the <gchart> tags. In the start tag you can add various optional options:
widthxheight in pixels. Defaults to 320x140pie3d, can be one of the followingpie3d for a 3D pie graphpie2d for a 2D pie graphline for a line graphsparkline for a “sparkline” graphhbar for a horizontal bar graphvbar for a vertical bar graphleft, center or right. Defaults to right.value is given, the entered values are added to the graphlegend is given, the slices will not be labeled directly“this is my Title”Hex colors can be the typical 3 part RGB hexcodes known from HTML or can contain a 4th alpha transparency value.
The default graph and background color can be set in the configuration manager to match the style of your template.
It is recommended to enable the fetchsize option to make use of image caching.