Template:Graph

From 2009.igem.org

Revision as of 14:27, 24 June 2009 by Jaspervdg (Talk | contribs)

This template lets any user of the Wiki include a graph in a Wiki page much like he/she can include an image. The graph is defined using JSON that describes the graph directly using the properties supported by the charting library in the Dojo Toolkit.

As an example Team:Groningen/Graphs/Test can be rendered using:

{{graph|Team:Groningen/Graphs/Test}}

Which looks like this:

Loading graph...

Please note that any page using this template should also include Template:GraphHeader (once), this need not be at the beginning of the document.