File: points.t

package info (click to toggle)
libchart-perl 1.0.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 320 kB
  • ctags: 86
  • sloc: perl: 2,796; makefile: 33
file content (18 lines) | stat: -rw-r--r-- 283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use Chart::Points;

print "1..1\n";

$g = Chart::Points->new;
$g->add_dataset ('foo', 'bar', 'junk');
$g->add_dataset (3, 4, 9);
$g->add_dataset (8, 6, 0);
$g->add_dataset (5, 7, 2);

$g->set ('title' => 'Points Chart');

$g->png ("samples/points.png");

print "ok 1\n";

exit (0);