man Lire::Report::ChartConfig () - Chart configuration object.

NAME

Lire::Report::ChartConfig - Chart configuration object.

SYNOPSIS

    use Lire::Report::ChartConfig;

    my $chart = new Lire::Report::ChartConfig();
    $chart->title( 'Downloads by Visits Scatterplot' )
    $chart->type( Lire::PluginManager->get_plugin( 'chart_type', 'scatterplot' );
    ...

DESCRIPTION

This is a Lire::Config::Dictionary subclass which is used to define a chart that will be generated from a Lire::Report::Subreport.

CONSTRUCTOR

new()

Creates a new Lire::Report::ChartConfig object.

ATTRIBUTES

These are methods that wraps around the Lire::Config::Dictionary get() and set() method. Returns (and optionnally changes) the Chart's basename. Returns (and optionnally changes) the Chart's title. Returns (and optionally changes) the ChartType plugin used by this Config.

type_properties()

Returns the Lire::Config::Value object used to store the ChartType's specific properties.

case_var()

Returns the Lire::Report::ColumnInfo object that is use to select the cases that will be part of the chart's data. Returns (and optionnally change) the Chart's X axis label.. Returns (and optionnally change) the Chart's Y axis label..

SEE ALSO

VERSION

$Id: ChartConfig.pm,v 1.6 2004/08/08 20:41:54 flacoste Exp $

COPYRIGHT

Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.

AUTHOR

Francis J. Lacoste <flacoste@logreport.org>