1Template::Plugin::GD::GUrsaeprh:C:opnotirnitbsu(t3e)d PeTrelmpDloactuem:e:nPtlautgiionn::GD::Graph::points(3)
2
3
4

NAME

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

SYNOPSIS

10           [% USE g = GD.Graph.points(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,    2,     3,     4],
18               ];
19               USE my_graph = GD.Graph.points();
20               my_graph.set(
21                       x_label => 'X Label',
22                       y_label => 'Y label',
23                       title => 'A Points Graph',
24                       y_max_value => 40,
25                       y_tick_number => 8,
26                       y_label_skip => 2,
27                       legend_placement => 'RC',
28                       long_ticks => 1,
29                       marker_size => 6,
30                       markers => [ 1, 7, 5 ],
31
32                       transparent => 0,
33               );
34               my_graph.set_legend('one', 'two');
35               my_graph.plot(data).png | stdout(1);
36              END;
37           -%]
38

DESCRIPTION

40       The GD.Graph.points plugin provides an interface to the
41       GD::Graph::points class defined by the GD::Graph module. It allows one
42       or more (x,y) data sets to be plotted as points, in addition to axes
43       and legends.
44
45       See GD::Graph for more details.
46

AUTHOR

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

SEE ALSO

70       Template::Plugin::GD, Template::Plugin::GD::Graph::lines,
71       Template::Plugin::GD::Graph::lines3d,
72       Template::Plugin::GD::Graph::bars, Template::Plugin::GD::Graph::bars3d,
73       Template::Plugin::GD::Graph::linespoints,
74       Template::Plugin::GD::Graph::area, Template::Plugin::GD::Graph::mixed,
75       Template::Plugin::GD::Graph::pie, Template::Plugin::GD::Graph::pie3d,
76       GD
77
78
79
80perl v5.32.0                      2020-07T-e2m8plate::Plugin::GD::Graph::points(3)
Impressum