
GD::Graph::radar - Make radial bar charts

use GD::Graph::radar;
my $radar = GD::Graph::radar->new(400, 400);
my $image = $radar->plot([
[qw( a b c d e f g h i )],
[qw( 3.2 9 4.4 3.9 4.1 4.3 7 6.1 5 )]
]);
print $image->png; #or ->gif, or ->jpeg, or...

This module is based on GD::Graph::pie with the exception of changes to the default settings, the draw_data method, and elimination of the pie specific code.

$img = GD::Graph::radar->new();
Create a new GD::Graph::radar object.
Create the image.

Setup defaults.
Set the font-name of the label.
Set the font-name of the value.
Setup the coordinate system and colours. Calculate the relative axis coordinates with respect to the canvas size.
Setup the parameters for the text elements.
Put the text on the canvas.
Draw the data lines and the polygon.
Put the slice label on the pie.
Return x, y coordinates, radius, angle, center x and y, and a scaling factor (height/width).

* The code in the eg/ and t/ directories.
GD::Graph::pie for an example of a similar plotting API.

Original code by Brad J. Murray <bjm@phreeow.net>
Maintenance by Gene Boggs <gene@cpan.org>

Copyright 2003 by Brad J. Murray
Copyright 2012 by Gene Boggs
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.