NAME

Image::BoxModel::Chart - Charts using Image::BoxModel (Incomplete)

SYNOPSIS

 use Image::BoxModel::Chart;
 
 my $image = new Image::BoxModel::Chart (
	width => 800, 
	height => 400, 
	lib=> "IM", 			#[IM|GD]
 );	
 
 print $image -> Annotate (text=> 'Hello naked BarChart', padding_top=>10, padding_bottom=> 20, background => "white");
 
 print $image -> Annotate (text => "happiness", textsize => 14, box_position => "left", rotate=>-90, padding_right => "10", text_position => "Center");
 
 $image -> ChartBars (values => [1,5,3,10,-10]);
 
 $image -> Save(file=> "20_chart_bars_naked_$image->{lib}.png");

DESCRIPTION

Image::BoxModel::Chart will implement different sorts of charts.

bars, points, stapled points, lines; all vertically and horizontally

The development is quite slow here, so if you wish to see something implemented, get the source and feel free to contribute. Or consider sponsoring. :-)

Methods

ChartBars

 $image -> ChartBars(
	values => \@values|[value1, value2, value3...], 
	scale_skip => [number]	#skip on scale-axis

Draw naked bars on an empty box.