File: direction_3.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 (24 lines) | stat: -rwxr-xr-x 427 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
use Chart::Direction;

print "1..1\n";

$g = Chart::Direction->new(500,500);

$g->add_dataset(0,  100,  50, 200,  300, 350);
$g->add_dataset(30,  40,  20,  35,   45,  20);

$g->set( 'title' => 'Direction Demo',
	 'angle_interval' => 45,
         'precision' => 1,
         'arrow' => 'true',
         'point' => 'false',
	 'include_zero' => 'true',

        );

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

print "ok 1\n";

exit (0);