PDF::Reuse::OverlayChart

PDF::Reuse::OverlayChart is a Perl module used to produce simple or mixed charts with PDF::Reuse.
Download

PDF::Reuse::OverlayChart Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lars Lundberg
  • Publisher web site:
  • http://search.cpan.org/~larslund/PDF-Reuse-OverlayChart-0.03/OverlayChart.pm

PDF::Reuse::OverlayChart Tags


PDF::Reuse::OverlayChart Description

PDF::Reuse::OverlayChart is a Perl module used to produce simple or mixed charts with PDF::Reuse. PDF::Reuse::OverlayChart is a Perl module used to produce simple or mixed charts with PDF::Reuse.SYNOPSIS use PDF::Reuse::OverlayChart; use PDF::Reuse; use strict; prFile('myFile.pdf'); my $s = PDF::Reuse::OverlayChart->new(); $s->columns(qw(Month January February Mars April May June July)); $s->add( 'Riga', 314, 490, 322, -965, 736, 120, 239); $s->add( 'Helsinki', 389, -865, -242, 7, 689, 294, 518); $s->add( 'Stockholm',456, -712, 542, 367, 742, 189, 190); $s->add( 'Oslo', 622, 533, 674, 1289, 679, -56, 345); $s->draw(x => 10, y => 200, yUnit => '1000 Euros', type => 'bars'); prEnd();To draw charts with the help of PDF::Reuse. Currently there are 5 types: 'bars', 'totalbars','percentbars', 'lines' and 'area'.The charts can be overlaid, so you can mix the types in the same chart. (Except for 'percentbars', which can't be freely combined with the others.) The entities shown, should have something in common, like the unit of the y-axis, but that is not really necessary. It is up to you, what you want to combine and relate.The object you create is a collection of data, which has a common structure, and which you want to present as a unit. It should consist of arrays or arrays of arrays. All the data of an object should have the same structure, so the module can calculate sums and percentages in a consistent way.If you want to compare data collections with different structure or very different sizes, you should create different objects, which can be presented and "scaled" more or less independently of each other. Requirements: · Perl


PDF::Reuse::OverlayChart Related Software