in reply to Re: Perl module for chart drawing?
in thread Perl module for chart drawing?

with above script, was testing module and facing error saying "sh: convert: command not found". Please help me .

Replies are listed 'Best First'.
Re^3: Perl module for chart drawing?
by Anonymous Monk on Dec 01, 2015 at 07:42 UTC
    used script for test
    use Chart::Gnuplot::Pie; # Create the pie chart object my $chart = Chart::Gnuplot::Pie->new( output => "pie.png", title => "Sample Pie"); # Data set my $dataSet = Chart::Gnuplot::Pie::DataSet->new( data => [ ['Item 1', 7500], ['Item 2', 3500], ['Item 3', 2000], ['Item 4', 4500], ], ); # Plot a 2D pie chart $chart->plot2d($dataSet);