ChartConfig(3pm) LogReport's Lire Documentation ChartConfig(3pm)

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

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' );
...

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

new()

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

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..

Lire::Config::ChartSpec(3pm) Lire::ChartType(3pm)

$Id: ChartConfig.pm,v 1.7 2006/07/23 13:16:31 vanbaal Exp $

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.

Francis J. Lacoste <flacoste@logreport.org>

2020-07-07 Lire 2.1.1