File: lines_8.t

package info (click to toggle)
libchart-perl 2.4.1-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,804 kB
  • ctags: 370
  • sloc: perl: 9,120; makefile: 532
file content (29 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (2)
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
26
27
28
29
#!/usr/bin/perl -w


use Chart::Lines;
use strict;
my $g;

print "1..1\n";

$g = Chart::Lines->new;
$g->add_dataset ('one', 'two', 'three', 'four','five', 'six');
$g->add_dataset (3, 11, 5, 10, 12, 4);


$g->set ('title' => "Timing");
$g->set ('sub_title' => 'Example for stepline');
$g->set ('y_grid_lines' => 'true');
$g->set ('legend' => 'none');
$g->set ('precision' => '0');
$g->set ('include_zero' => 'true');
$g->set ('stepline' => 'true');
$g->set ('stepline_mode' => 'begin');

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

print "ok 1\n";

exit (0);