Lire::Report::ChartConfig(3pm)

Lire::Report::ChartConfig3pm

Chart configuration object.

Usage

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

Overview

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.

basename( [ $new_basename ] )

Returns (and optionnally changes) the Chart's basename.

title( [ $new_title ] )

Returns (and optionnally changes) the Chart's title.

type( [ $new_type ] )

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.

xlabel( [ $new_xlabel ] )

Returns (and optionnally change) the Chart's X axis label..

ylabel( [ $new_ylabel ] )

Returns (and optionnally change) the Chart's Y axis label..

Version

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

Releases

6 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. Arch

Author

Francis J. Lacoste <[email protected]>

From lire 2.1.1-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.