File: points.t

package info (click to toggle)
libchart-perl 2.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 15,356 kB
  • ctags: 140
  • sloc: perl: 6,573; makefile: 40
file content (25 lines) | stat: -rw-r--r-- 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);

@hash = ('title' => 'Points Chart',
	 'type_style' => 'donut',
	 'png_border' =>10,
	 
	 
	 );

$g->set (@hash);

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

print "ok 1\n";

exit (0);