View Source:
Help/ChartPlugin
Note:
This page has been locked and cannot be edited.
The **Chart** [[Help:WikiPlugin|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 a recent browser (Firefox, Opera, Chrome, Safari) then you should see the examples. == Usage == {{{ <<Chart width=200 height=200 type=line color=green data="5, 7, 11, 3, 15" >> }}} == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **width** | Graph width in pixels | 200 |- | **height** | Graph height in pixels | 200 |- | **type** | line, bar or pie | line |- | **data** | Graph data: a list of numbers separated by comma | //None// (required argument) |} == Examples == === Line chart === {{{ <<Chart type=line data="5, 7, 11, 3, 15" >> }}} <<Chart type=line data="5, 7, 11, 3, 15" >> === Bar chart === {{{ <<Chart type=bar color=red data="5, 7, 11, 3, 15" >> }}} <<Chart type=bar color=red data="5, 7, 11, 3, 15" >> === Pie chart === {{{ <<Chart type=pie color=blue data="5, 7, 11, 3, 15" >> }}} <<Chart type=pie color=blue data="5, 7, 11, 3, 15" >> == Known Problems == With multiple Chart plugins on the same page the 2nd and subsequent ones will have the same width and height. == Author == * Marc-Etienne Vargenau == See Also == <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In