Bionanny::Report::graphs - creating graphs from Bionanny data
Do not use this object directly, it is recommended to access it and use it only through the the Bionanny::Report manpage module:
use Bionanny::Listener; use Bionanny::Report; my $listener = new Bionanny::Listener; my $reporter = new Bionanny::Report (-report => 'graphs', -format => 'png', -data => $listener->get); my $png_image = $reporter->report;
It converts Bionanny monitoring data from the native XML format (the format provided by a Bionanny monitoring service) to an image containing a graph showing usage of Bionanny services.
Otherwise see the Bionanny::Report manpage and
Martin Senger (firstname.lastname@example.org)
This file is a component of the Bionanny project. Copyright Michael Niemi & Martin Senger. For details contact email@example.com, or see http://www.bionanny.org/.
Parts were re-factored from modules available in Bioperl project. See copyright notices there.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This software is provided ``as is'' without warranty of any kind.
Additionally to the arguments recognized by the the Bionanny::Report manpage, this class understands also:
It specifies the format of the created image.
It allows to specify additional attributes that are directly passed to
the underlying GD::Graph engine (therefore you need to read its manual
to see what attributes are possible and what they mean). These
user-defined attributes are given all in one string separated by
or whitespaces, unless escaped, or in quoted string. For example:
title='one and two' x_label = "Mark's numbers"