1Template::Plugin::GD::GUrsaeprh:C:olnitnreisb3udt(e3d)PTeermlplDaotceu:m:ePnltuagtiino:n:GD::Graph::lines3d(3)
2
3
4

NAME

6       Template::Plugin::GD::Graph::lines3d - Create 3D line graphs with axes
7       and legends
8

SYNOPSIS

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

EXAMPLES

13           [% FILTER null;
14               data = [
15                   ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
16                                                "Sep", "Oct", "Nov", "Dec", ],
17                   [-5, -4, -3, -3, -1,  0,  2,  1,  3,  4,  6,  7],
18                   [4,   3,  5,  6,  3,1.5, -1, -3, -4, -6, -7, -8],
19                   [1,   2,  2,  3,  4,  3,  1, -1,  0,  2,  3,  2],
20               ];
21
22               USE my_graph = GD.Graph.lines3d();
23
24               my_graph.set(
25                       x_label => 'Month',
26                       y_label => 'Measure of success',
27                       title => 'A 3d Line Graph',
28
29                       y_max_value => 8,
30                       y_min_value => -8,
31                       y_tick_number => 16,
32                       y_label_skip => 2,
33                       box_axis => 0,
34                       line_width => 3,
35                       zero_axis_only => 1,
36                       x_label_position => 1,
37                       y_label_position => 1,
38
39                       x_label_skip => 3,
40                       x_tick_offset => 2,
41
42                       transparent => 0,
43               );
44               my_graph.set_legend("Us", "Them", "Others");
45               my_graph.plot(data).png | stdout(1);
46              END;
47           -%]
48

DESCRIPTION

50       The GD.Graph.lines3d plugin provides an interface to the
51       GD::Graph::lines3d class defined by the GD::Graph3d module. It allows
52       one or more (x,y) data sets to be plotted as y versus x lines with a
53       3-dimensional appearance, together with axes and legends.
54
55       See GD::Graph3d for more details.
56

AUTHOR

58       Thomas Boutell wrote the GD graphics library.
59
60       Lincoln D. Stein wrote the Perl GD modules that interface to it.
61
62       Martien Verbruggen wrote the GD::Graph module.
63
64       Craig Barratt <craig@arraycomm.com> wrote the original GD plugins for
65       the Template Toolkit (2001).
66
67       Andy Wardley <abw@cpan.org> extracted them from the TT core into a
68       separate distribution for TT version 2.15.
69
71       Copyright (C) 2001 Craig Barratt <craig@arraycomm.com>, 2006 Andy
72       Wardley <abw@cpan.org>.
73
74       GD::Graph3d is copyright (C) 1999,2000 Wadsack-Allen. All Rights
75       Reserved.
76
77       This module is free software; you can redistribute it and/or modify it
78       under the same terms as Perl itself.
79

SEE ALSO

81       Template::Plugin::GD, Template::Plugin::GD::Graph::lines,
82       Template::Plugin::GD::Graph::bars, Template::Plugin::GD::Graph::bars3d,
83       Template::Plugin::GD::Graph::points,
84       Template::Plugin::GD::Graph::linespoints,
85       Template::Plugin::GD::Graph::area, Template::Plugin::GD::Graph::mixed,
86       Template::Plugin::GD::Graph::pie, Template::Plugin::GD::Graph::pie3d,
87       GD
88
89
90
91perl v5.32.0                      2020-0T7e-m2p8late::Plugin::GD::Graph::lines3d(3)
Impressum