Display a customizable sparkline graph of post and/or comment activity.
Basic template tag support was added in v0.3. The following code checks for plugin activation and renders with the default settings.
<?php if(function_exists('activitysparks')) {
activitysparks();
} ?>
To change the default settings you must pass an array of the parameters you wish to alter. These are the available parameters and valid values
An example of how to implement parameters is as follows:
<?php if(function_exists('activitysparks')) {
activitysparks(array('dataset'=>'legend','width_px'=>480,bkgrnd=>'NONE'));
} ?>
Caching is not available for the template tag implementation.