]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/sparkline.mdwn
patch plugin documentation to refer to directive pages
[git.ikiwiki.info.git] / doc / plugins / sparkline.mdwn
1 [[!template id=plugin name=sparkline author="[[Joey]]"]]
2 [[!tag type/chrome]]
4 This plugin implements the [[ikiwiki/directive/sparkline]] [[ikiwiki/directive]].
5 The directive allows for easily embedding sparklines into wiki pages.
7 # requirements
9 The plugin uses the [Sparkline PHP Graphing Library](http://sparkline.org/)
10 as it has better output than the native perl sparkline library. Therefore,
11 to use the plugin, you will need:
13 * The Sparkline PHP Graphing Library, installed in php's path so that
14   php can find it when `sparkline/Sparkline.php` is required.
15 * The GD PHP module used by the Sparkline library.
16 * A "php" program in the path, that can run standalone php programs.
17 * [[!cpan Digest::SHA1]]
19 On a Debian system, this can be accomplished by installing these packages:
20 `libsparkline-php` `php5-gd` `php5-cli` `libdigest-sha1-perl`
22 This plugin also uses the [[!cpan Digest::SHA1]] perl module.