1Template::Plugin::GD::GUrsaeprh:C:olnitnreisbpuotTieendmtpsPl(ea3rt)le:D:oPcluumgeinnt:a:tGiDo:n:Graph::linespoints(3)
2
3
4

NAME

6       Template::Plugin::GD::Graph::linespoints - Create line/point graphs
7       with axes and legends
8

SYNOPSIS

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

EXAMPLES

13           [% FILTER null;
14               data = [
15                   ["1st","2nd","3rd","4th","5th","6th","7th", "8th", "9th"],
16                   [50,  52,  53,  54,  55,  56,  57,  58,  59],
17                   [60,  61,  61,  63,  68,  66,  65,  61, 58],
18                   [70,  72,  71,  74,  78,  73,  75,  71, 68],
19               ];
20
21               USE my_graph = GD.Graph.linespoints;
22
23               my_graph.set(
24                   x_label => 'X Label',
25                   y_label => 'Y label',
26                   title => 'A Lines and Points Graph',
27                   y_max_value => 80,
28                   y_tick_number => 6,
29                   y_label_skip => 2,
30                   y_long_ticks => 1,
31                   x_tick_length => 2,
32                   markers => [ 1, 5 ],
33                   skip_undef => 1,
34                   transparent => 0,
35               );
36               my_graph.set_legend('data set 1', 'data set 2', 'data set 3');
37               my_graph.plot(data).png | stdout(1);
38              END;
39           -%]
40

DESCRIPTION

42       The GD.Graph.linespoints plugin provides an interface to the
43       GD::Graph::linespoints class defined by the GD::Graph module. It allows
44       one or more (x,y) data sets to be plotted as y versus x lines, plus
45       symbols placed at each point, in addition to axes and legends.
46
47       See GD::Graph for more details.
48

AUTHOR

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

SEE ALSO

72       Template::Plugin::GD, Template::Plugin::GD::Graph::lines,
73       Template::Plugin::GD::Graph::lines3d,
74       Template::Plugin::GD::Graph::bars, Template::Plugin::GD::Graph::bars3d,
75       Template::Plugin::GD::Graph::points, Template::Plugin::GD::Graph::area,
76       Template::Plugin::GD::Graph::mixed, Template::Plugin::GD::Graph::pie,
77       Template::Plugin::GD::Graph::pie3d, GD
78
79
80
81perl v5.28.1                      20T0e6m-p0l2a-t0e3::Plugin::GD::Graph::linespoints(3)
Impressum