1Template::Plugin::GD::GUrsaeprh:C:opniter3idb(u3t)ed PerTlemDpolcautmee:n:tPaltuigoinn::GD::Graph::pie3d(3)
2
3
4
6 Template::Plugin::GD::Graph::pie3d - Create 3D pie charts with legends
7
9 [% USE g = GD.Graph.pie3d(x_size, y_size); %]
10
12 [% FILTER null;
13 data = [
14 ["1st","2nd","3rd","4th","5th","6th"],
15 [ 4, 2, 3, 4, 3, 3.5]
16 ];
17
18 USE my_graph = GD.Graph.pie3d( 250, 200 );
19
20 my_graph.set(
21 title => 'A Pie Chart',
22 label => 'Label',
23 axislabelclr => 'black',
24 pie_height => 36,
25
26 transparent => 0,
27 );
28 my_graph.plot(data).png | stdout(1);
29 END;
30 -%]
31
33 The GD.Graph.pie3d plugin provides an interface to the GD::Graph::pie3d
34 class defined by the GD::Graph module. It allows an (x,y) data set to
35 be plotted as a 3d pie chart. The x values are typically strings.
36
37 Note that GD::Graph::pie already produces a 3d effect, so
38 GD::Graph::pie3d is just a wrapper around GD::Graph::pie. Similarly,
39 the plugin GD.Graph.pie3d is effectively the same as the plugin
40 GD.Graph.pie.
41
42 See GD::Graph3d for more details.
43
45 Thomas Boutell wrote the GD graphics library.
46
47 Lincoln D. Stein wrote the Perl GD modules that interface to it.
48
49 Martien Verbruggen wrote the GD::Graph module.
50
51 Craig Barratt <craig@arraycomm.com> wrote the original GD plugins for
52 the Template Toolkit (2001).
53
54 Andy Wardley <abw@cpan.org> extracted them from the TT core into a
55 separate distribution for TT version 2.15.
56
58 Copyright (C) 2001 Craig Barratt <craig@arraycomm.com>, 2006 Andy
59 Wardley <abw@cpan.org>.
60
61 GD::Graph3d is copyright (c) 1999,2000 Wadsack-Allen. All Rights
62 Reserved. GD::Graph is copyright 1999 Martien Verbruggen.
63
64 This module is free software; you can redistribute it and/or modify it
65 under the same terms as Perl itself.
66
68 Template::Plugin::GD, Template::Plugin::GD::Graph::lines,
69 Template::Plugin::GD::Graph::lines3d,
70 Template::Plugin::GD::Graph::bars, Template::Plugin::GD::Graph::bars3d,
71 Template::Plugin::GD::Graph::points,
72 Template::Plugin::GD::Graph::linespoints,
73 Template::Plugin::GD::Graph::area, Template::Plugin::GD::Graph::mixed,
74 Template::Plugin::GD::Graph::pie, GD
75
76 # Local Variables: # mode: perl # perl-indent-level: 4 # indent-tabs-
77 mode: nil # End: # # vim: expandtab shiftwidth=4:
78
79
80
81perl v5.32.0 2020-07-T2e8mplate::Plugin::GD::Graph::pie3d(3)