Template:Graph
From 2009.igem.org
(Difference between revisions)
m (Letting MediaWiki resolve a self-reference.) |
m (Link to JSON standard.) |
||
Line 1: | Line 1: | ||
- | <includeonly><div class="graph">Loading [[{{{1}}}|graph]]...</div></includeonly><noinclude>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 [http://docs.dojocampus.org/dojox/charting charting library] in the [http://www.dojotoolkit.org/ Dojo Toolkit]. | + | <includeonly><div class="graph">Loading [[{{{1}}}|graph]]...</div></includeonly><noinclude>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 [http://www.json.org/ JSON] that describes the graph directly using the properties supported by the [http://docs.dojocampus.org/dojox/charting charting library] in the [http://www.dojotoolkit.org/ Dojo Toolkit]. |
As an example [[Team:Groningen/Graphs/Test]] can be rendered using: | As an example [[Team:Groningen/Graphs/Test]] can be rendered using: |
Revision as of 14:27, 24 June 2009
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 [http://www.json.org/ JSON] that describes the graph directly using the properties supported by the [http://docs.dojocampus.org/dojox/charting charting library] in the [http://www.dojotoolkit.org/ 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.