The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl -w

use Chart::Composite;

print "1..1\n";

$g = Chart::Composite->new( 750, 600 );

$g->add_dataset( 1,   2,   3 );
$g->add_dataset( 10,  20,  30 );
$g->add_dataset( 15,  25,  32 );
$g->add_dataset( 7,   24,  23 );
$g->add_dataset( 0.1, 0.5, 0.9 );

$g->set(
    'title'          => 'Composite Chart Test 2',
    'composite_info' => [ [ 'Bars', [ 1 .. 3 ] ], [ 'LinesPoints', [4] ] ]
);

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

print "ok 1\n";

exit(0);