]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/sparkline.mdwn
reorg from will's changes
[ikiwiki.git] / doc / plugins / sparkline.mdwn
1 [[!template id=plugin name=sparkline author="[[Joey]]"]]
2 [[!tag type/chrome]]
3
4 This plugin implements the [[ikiwiki/directive/sparkline]] [[ikiwiki/directive]].
5 The directive allows for easily embedding sparklines into wiki pages.
6
7 # requirements
8
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:
12
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]]
18
19 On a Debian system, this can be accomplished by installing these packages:
20 `libsparkline-php` `php5-gd` `php5-cli` `libdigest-sha1-perl`
21
22 This plugin also uses the [[!cpan Digest::SHA1]] perl module.
23