NAME
App::Basis::ConvertText2::Plugin::Chart
SYNOPSIS
my $content = "apples,bananas,cake,cabbage,edam,fromage,tomatoes,chips
1,2,3,5,11,22,33,55
1,2,3,5,11,22,33,55
1,2,3,5,11,22,33,55
1,2,3,5,11,22,33,55
" ;
my $params = {
size => "600x480",
title => "chart1",
xaxis => 'things xways',
yaxis => 'Vertical things',
format => 'pie',
legends => 'a,b,c,d,e,f,g,h'
} ;
my $obj = App::Basis::ConvertText2::Plugin::Chart->new() ;
my $out = $obj->process( 'chart', $content, $params) ;
DESCRIPTION
Convert comma separated text strings into charts image PNG
- chart
-
create a simple chart image, with some nice defaults
parameters data - comma separated lines of chart data filename - filename to save the created chart image as hashref params of size - size of image, default 400x300, widthxheight - optional title - title for the chart xaxis - label for x axis yaxis - label for y axis format - chart format mixed, area, lines, points, linespoints, bars, lines3d, pie types - space separated list of types, in the same order as the data sets. Possible values are: lines bars points area linespoints overwrite - If set to 0, bars of different data sets will be drawn next to each other. If set to 1, they will be drawn in front of each other. Default: 0. legends - csv of legends for graph, these correspond to the data sets
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 114:
'=item' outside of any '=over'
=over without closing =back