ChartConfig(3pm)

πŸ“¦ version 2.1.1, in arch rolling

okay so welcome to ChartConfig(3pm), straight out of LogReport's Lire Documentation, bestie ✨ this is the page for the chart config object, and it's lowkey iconic.

🌸 NAME 🌸

Lire::Report::ChartConfig β€” chart configuration object. that's the whole name, no cap πŸ’…

πŸ¦‹ 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, and it's used to define a chart that will be generated from a Lire::Report::Subreport. literally its whole job 🫢

πŸ› οΈ CONSTRUCTOR πŸ› οΈ

✨ new() ✨

Creates a new Lire::Report::ChartConfig object. fresh chart config, main character energy πŸ‘‘

πŸ’… ATTRIBUTES πŸ’…

These are methods that wrap around the Lire::Config::Dictionary get() and set() method. cute lil wrappers, doing the most so you don't have to πŸŽ€

🌟 basename( [ $new_basename ] ) 🌟

Returns the Chart's basename β€” and optionally changes it if you pass $new_basename.

🌟 title( [ $new_title ] ) 🌟

Returns the Chart's title β€” and optionally changes it if you pass $new_title.

🌟 type( [ $new_type ] ) 🌟

Returns the ChartType plugin used by this Config β€” and optionally changes it if you pass $new_type.

🌟 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's used to select the cases that will be part of the chart's data.

🌟 xlabel( [ $new_xlabel ] ) 🌟

Returns the Chart's X axis label β€” and optionally changes it if you pass $new_xlabel.

🌟 ylabel( [ $new_ylabel ] ) 🌟

Returns the Chart's Y axis label β€” and optionally changes it if you pass $new_ylabel.

🐚 SEE ALSO 🐚

go read those too, bestie, iykyk πŸ¦‹

πŸŽ€ VERSION πŸŽ€

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

legal tea, served fresh πŸ’…βœ¨

πŸ“ AUTHOR πŸ“

Francis J. Lacoste <flacoste@logreport.org>


byeee bestie 🫢 that was ChartConfig(3pm), from Lire 2.1.1, dated 2025-09-28. slay and read your manpages πŸ’–

πŸ“¦ where this page comes from