Subject: | ::Composite w/ two ::Lines and xy_plot ==> undefined value when drawing x ticks |
Generally seems like a nice package, however, the following results in (runs without error when xy_plot => 0).
Can't use an undefined value as an ARRAY reference at
C:/strawberry/perl/site/lib/Chart/Base.pm line 3441
$chart = Chart::Composite->new($width, $height);
$chart->set(
composite_info => [
[ Lines => [ 1, 2 ]],
[ Lines => [ 3 ]]
]
);
$chart->set(xy_plot => 1);
$chart->$format($out_fn, \@data);