Provides a widget (or template tag) to show a small sparkline chart with your the number of posts per day.
Sparkplug can be used either as a widget, directly within a theme file.
NOTE: You may only have ONE instance of Sparkplug appear on a page at a time. It will automatically detect if there has already been one and subsequent requests for it will be ignored.
Sparkplug comes with a simple template tag that you can use in any template file in your theme. It gives you a little more control over the output as well, in case you want to do something a little different.
Use this to output the default Sparkplug:
<?php sparkplug() ?>
There are a number of options you can use to configure the output, which are passed as an associative array like this:
<?php sparkplug( array( 'barColor' => '#ff0000' ) ) ?>
The full list of available options is:
Requires: 2.7 or higher
Compatible up to: 2.8.6
Last Updated: 2009-11-20
Active Installs: Less than 10
Got something to say? Need help?