1Template::Plugin::GD::GUrsaeprh:C:oanrterai(b3u)ted PerlTeDmopcluamteen:t:aPtliuognin::GD::Graph::area(3)
2
3
4

NAME

6       Template::Plugin::GD::Graph::area - Create area graphs with axes and
7       legends
8

SYNOPSIS

10           [% USE g = GD.Graph.area(x_size, y_size); %]
11

EXAMPLES

13           [% FILTER null;
14               data = [
15                   ["1st","2nd","3rd","4th","5th","6th","7th", "8th", "9th"],
16                   [    5,   12,   24,   33,   19,    8,    6,    15,    21],
17                   [   -1,   -2,   -5,   -6,   -3,  1.5,    1,   1.3,     2]
18               ];
19
20               USE my_graph = GD.Graph.area();
21               my_graph.set(
22                       two_axes => 1,
23                       zero_axis => 1,
24                       transparent => 0,
25               );
26               my_graph.set_legend('left axis', 'right axis' );
27               my_graph.plot(data).png | stdout(1);
28              END;
29           -%]
30

DESCRIPTION

32       The GD.Graph.area plugin provides an interface to the GD::Graph::area
33       class defined by the GD::Graph module. It allows one or more (x,y) data
34       sets to be plotted as lines with the area between the line and x-axis
35       shaded, in addition to axes and legends.
36
37       See GD::Graph for more details.
38

AUTHOR

40       Thomas Boutell wrote the GD graphics library.
41
42       Lincoln D. Stein wrote the Perl GD modules that interface to it.
43
44       Martien Verbruggen wrote the GD::Graph module.
45
46       Craig Barratt <craig@arraycomm.com> wrote the original GD plugins for
47       the Template Toolkit (2001).
48
49       Andy Wardley <abw@cpan.org> extracted them from the TT core into a
50       separate distribution for TT version 2.15.
51
53       Copyright (C) 2001 Craig Barratt <craig@arraycomm.com>, 2006 Andy
54       Wardley <abw@cpan.org>.
55
56       GD::Graph is copyright 1999 Martien Verbruggen.
57
58       This module is free software; you can redistribute it and/or modify it
59       under the same terms as Perl itself.
60

SEE ALSO

62       Template::Plugin::GD, Template::Plugin::GD::Graph::lines,
63       Template::Plugin::GD::Graph::lines3d,
64       Template::Plugin::GD::Graph::bars, Template::Plugin::GD::Graph::bars3d,
65       Template::Plugin::GD::Graph::points,
66       Template::Plugin::GD::Graph::linespoints,
67       Template::Plugin::GD::Graph::mixed, Template::Plugin::GD::Graph::pie,
68       Template::Plugin::GD::Graph::pie3d, GD
69
70
71
72perl v5.34.0                      2021-07-2T2emplate::Plugin::GD::Graph::area(3)
Impressum