GD::Graph3d(3pm) | User Contributed Perl Documentation | GD::Graph3d(3pm) |
GD::Graph3D - Create 3D Graphs with GD and GD::Graph
use GD::Graph::moduleName; my @data = ( ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], [ 1203, 3500, 3973, 2859, 3012, 3423, 1230] ); my $graph = new GD::Graph::moduleName( 400, 300 ); $graph->set( x_label => 'Day of the week', y_label => 'Number of hits', title => 'Daily Summary of Web Site', ); my $gd = $graph->plot( \@data );
Where moduleName is one of "bars3d", "lines3d" or "pie3d".
This is the GD::Graph3d extensions module. It provides 3D graphs for the GD::Graph module by Martien Verbruggen, which in turn generates graph using Lincoln Stein's GD.pm.
You use these modules just as you would any of the GD::Graph modules, except that they generate 3d-looking graphs. Each graph type is described below with only the options that are unique to the 3d version. The modules are based on their 2d versions (e.g. GD::Graph::bars3d works like GD::Graph::bars), and support all the options in those. Make sure to read the documentation on GD::Graph.
0.63 (6 December 2002)
You will need to have the GD::Graph version 1.30 or later installed. You should also have Perl version 5.005 or 5.6 installed.
To install, just do the normal:
perl Makefile.PL make make install
The documentation is in GD::Graph::Graph3d.pod.
Jeremy Wadsack for Wadsack-Allen Digital Group. <dgsupport at wadsack-allen dot com>
Most of the modules are based on the GD::Graph modules by Martien Verbruggen.
The latest release is available from CPAN: http://www.cpan.org/.
Copyright (c) 1999-2001 Wadsack-Allen. All rights reserved.
Much of the original code is from GD::Graph:
GIFgraph: Copyright (c) 1995-1999 Martien Verbruggen.
Chart::PNGgraph: Copyright (c) 1999 Steve Bonds.
GD::Graph: Copyright (c) 1999 Martien Verbruggen.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2022-06-14 | perl v5.34.0 |