NAME

App::Basis::ConvertText2::Plugin::Sparkline

SYNOPSIS

my $content = "1,2,3,4,5,6,7,8" ;
my $params = {} ;
my $obj = App::Basis::ConvertText2::Plugin::Sparkline->new() ;
my $out = $obj->process( 'sparkline', $content, $params) ;

DESCRIPTION

Convert a text string of comma separated numbers into a sparkline image PNG

color_schemes

return a list of the color schemes available

process (sparkline)

create a simple sparkline image, with some nice defaults

parameters
   text   - comma separated list of integers for the sparkline
   filename - filename to save the created sparkline image as 

   hashref params of
       bgcolor - background color in hex (123456) or transparent - optional
       line    - color or the line, in hex (abcdef) - optional
       color   - area under the line, in hex (abcdef) - optional
       scheme  - color scheme, only things in red blue green orange mono are valid - optional
       size    - size of image, default 80x20, widthxheight - optional

1 POD Error

The following errors were encountered while parsing the POD:

Around line 51:

'=item' outside of any '=over'

=over without closing =back