The Chart plugin allows to easily draw simple graphs on a wiki page.

Three graph formats are possible: line, bar and pie. In pie mode, negative values are ignored.

The browser must support SVG in order graphs to be displayed. If you are using Internet Explorer 6 + Adobe SVGviewer (often included by default with Windows XP) or SVG-enabled Firefox (2.0 or above) then you should see the examples.

Usage

<<Chart width=200 height=200 type=line color=green data="5, 7, 11, 3, 15" >>

Arguments

Plugin 'MediawikiTable' does not exist.

Examples

Line chart

<<Chart type=line
        data="5, 7, 11, 3, 15"
>>
Plugin 'Chart' does not exist.

Bar chart

<<Chart type=bar
        color=red
        data="5, 7, 11, 3, 15"
>>
Plugin 'Chart' does not exist.

Pie chart

<<Chart type=pie
        color=blue
        data="5, 7, 11, 3, 15"
>>
Plugin 'Chart' does not exist.

Known Problems

With multiple Chart plugins on the same page the 2nd and subsequent ones will have the same width and height.

Author

See Also


PhpWikiDocumentation CategoryWikiPlugin

PHP Warning

Warning: "include_once(lib/plugin/MediawikiTable.php): failed to open stream: No such file or directory" (...repeated 4 times)