NAME FML::Demo::Chart - handle chart structure (demonstration module). SYNOPSIS DESCRIPTION "CAUTION:" This module is created just for a demonstration to show how to write a module intended for personal use. This module is not enough mature nor secure. CHART The chart, which is a kind of Gantt chart, is based on matrix as follows: 1st column 2nd column 3rd column ... row 1st todo who 01/01 01/02 ... row 2nd a rudo o row 3rd b kenken o ... The x axis is date by default but in almost cases, the x axis must be a combination of "todo entry", "person", "end of developement", "date" array. METHODS new($args) constructor. BASIC OPERATIONS add($x, $y, $value) add $value at the position ($x, $y) where $y is expected to be a date e.g. 2006/01/01. delete($x, $y) delete value at the position ($x, $y). DATE RANGE OPERATIONS set_date_range($min_date, $max_date) set range of the date column. PRINTING METHODS print_as_html_table() print as HTML table. print_as_Chart() print as Chart. UTILITY set_format($format) set format where $format is ARRAY_REF. get_format return format ARRAY_REF. set_alias($alias) set alias where $alias is HASH_REF. get_alias return alias HASH_REF. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'chi Fukamachi COPYRIGHT Copyright (C) 2005,2006 Ken'chi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. HISTORY FML::Demo::Chart first appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details. Firstly this module name is "TinyScheduler.pm" and renamed to Calendar::Lite later. In 2004, it is renamed to FML::Demo::Chart again since this module must depend FML::* classes.