Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Chart for openSUSE:Factory checked in at 2022-08-16 17:08:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Chart (Old) and /work/SRC/openSUSE:Factory/.perl-Chart.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Chart" Tue Aug 16 17:08:40 2022 rev:26 rq:997362 version:2.403.7 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Chart/perl-Chart.changes 2022-07-28 20:59:36.771737794 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Chart.new.1521/perl-Chart.changes 2022-08-16 17:08:46.996064622 +0200 @@ -1,0 +2,6 @@ +Sat Jul 30 03:06:10 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 2.403.7 + see /usr/share/doc/packages/perl-Chart/Changes + +------------------------------------------------------------------- Old: ---- Chart-v2.403.6.tar.gz New: ---- Chart-v2.403.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Chart.spec ++++++ --- /var/tmp/diff_new_pack.chG4MA/_old 2022-08-16 17:08:47.640066548 +0200 +++ /var/tmp/diff_new_pack.chG4MA/_new 2022-08-16 17:08:47.644066560 +0200 @@ -18,7 +18,7 @@ %define cpan_name Chart Name: perl-Chart -Version: 2.403.6 +Version: 2.403.7 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Series of charting modules @@ -38,7 +38,7 @@ %{perl_requires} %description -Chart help you to create PNG and JPG images with visualizations of numeric +Chart helps you to create PNG and JPG images with visualizations of numeric data. This page gives you a summary how to use it. For a more thorough documentation and lots of example code please visit the Chart::Manual. ++++++ Chart-v2.403.6.tar.gz -> Chart-v2.403.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/Changes new/Chart-v2.403.7/Changes --- old/Chart-v2.403.6/Changes 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/Changes 2022-07-29 23:05:09.000000000 +0200 @@ -1,23 +1,33 @@ -2.403.6 2022-08-21 lichtkind +2.403.7 2022-07-29 lichtkind ------- * = POD rewrite release - * ! gap in HTML tag in POD prevented lanfing page illustrations - * ? final touche on new POD documentation + * ? move landing page examples in own category, independent from test script runs + * ? reduce references to gone modules in Chart.pm POD + * ? clearify some bits in POD + * ? several final touches on types manual page and example images + * ! fix sub title in manual demo of pie chart + * ! bad dates, typos in Changes -2.403.5 2022-08-18 lichtkind +2.403.6 2022-07-21 lichtkind +------- + * = POD rewrite release + * ! gap in HTML tag in POD prevented landing page demo images + * ? final touches on new POD documentation + +2.403.5 2022-07-18 lichtkind ------- * = POD rewrite release * ? completed workflow page in manual * ? completed methods page in manual -2.403.4 2022-08-17 lichtkind +2.403.4 2022-07-17 lichtkind ------- * = POD rewrite release * ? completed types page in manual * ! fixed some image sizes * ! fixed dist.ini so old stuff from git don't spill into release -2.403.3 2022-08-16 lichtkind +2.403.3 2022-07-16 lichtkind ------- * = POD rewrite release * + addded images to landing page @@ -26,28 +36,28 @@ * ? some small addons for properties page * ! fixed overlong tick label due rounding error near zero -2.403.2 2022-08-13 lichtkind +2.403.2 2022-07-13 lichtkind ------- * = POD rewrite release * ? completed properties page in manual * ? started types page in manual with first test example * ! linkfixes on landing POD of Chart.pm - * ! linkfixes on Color::Constants.pm POD + * ! linkfixes on Color::Constant.pm POD -2.403.1 2022-08-12 lichtkind +2.403.1 2022-07-12 lichtkind ------- * = POD rewrite release * ? completed most of properties - * ? all names listed in Color::Constants.POD + * ? all names listed in Color::Constant.pm POD -2.403.0 2022-08-07 lichtkind +2.403.0 2022-07-07 lichtkind ------- * = test release to check metacpan POD parser * + added Chart::Manual + property sub page * - drop PDF and HTML documentation * - drop dependency on module: POSIX -2.402.3 2022-07-18 lichtkind +2.402.3 2022-06-18 lichtkind ------- * + string method to Color objects * ? fixed #18891 : document that y_ticks1, y_ticks2 is composite only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/MANIFEST new/Chart-v2.403.7/MANIFEST --- old/Chart-v2.403.6/MANIFEST 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/MANIFEST 2022-07-29 23:05:09.000000000 +0200 @@ -21,7 +21,6 @@ lib/Chart/Constants.pm lib/Chart/Direction.pm lib/Chart/ErrorBars.pm -lib/Chart/Font.pm lib/Chart/HorizontalBars.pm lib/Chart/Lines.pm lib/Chart/LinesPoints.pm @@ -35,6 +34,7 @@ lib/Chart/Pie.pm lib/Chart/Points.pm lib/Chart/Property.pm +lib/Chart/Property/DataType/Font.pm lib/Chart/Split.pm lib/Chart/StackedBars.pm t/001_color_value.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/META.json new/Chart-v2.403.7/META.json --- old/Chart-v2.403.6/META.json 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/META.json 2022-07-29 23:05:09.000000000 +0200 @@ -54,71 +54,71 @@ "provides" : { "Chart" : { "file" : "lib/Chart.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Bars" : { "file" : "lib/Chart/Bars.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Color" : { "file" : "lib/Chart/Color.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Composite" : { "file" : "lib/Chart/Composite.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Direction" : { "file" : "lib/Chart/Direction.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::ErrorBars" : { "file" : "lib/Chart/ErrorBars.pm", - "version" : "v2.403.6" - }, - "Chart::Font" : { - "file" : "lib/Chart/Font.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::HorizontalBars" : { "file" : "lib/Chart/HorizontalBars.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Lines" : { "file" : "lib/Chart/Lines.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::LinesPoints" : { "file" : "lib/Chart/LinesPoints.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Mountain" : { "file" : "lib/Chart/Mountain.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Pareto" : { "file" : "lib/Chart/Pareto.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Pie" : { "file" : "lib/Chart/Pie.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Points" : { "file" : "lib/Chart/Points.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::Property" : { "file" : "lib/Chart/Property.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" + }, + "Chart::Property::DataType::Font" : { + "file" : "lib/Chart/Property/DataType/Font.pm", + "version" : "v2.403.7" }, "Chart::Split" : { "file" : "lib/Chart/Split.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" }, "Chart::StackedBars" : { "file" : "lib/Chart/StackedBars.pm", - "version" : "v2.403.6" + "version" : "v2.403.7" } }, "release_status" : "stable", @@ -129,7 +129,7 @@ "web" : "https://github.com/lichtkind/Chart" } }, - "version" : "v2.403.6", + "version" : "v2.403.7", "x_generated_by_perl" : "v5.30.0", "x_maintainers" : [ "Herbert Breunung <lichtk...@cpan.org>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/META.yml new/Chart-v2.403.7/META.yml --- old/Chart-v2.403.6/META.yml 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/META.yml 2022-07-29 23:05:09.000000000 +0200 @@ -28,62 +28,62 @@ provides: Chart: file: lib/Chart.pm - version: v2.403.6 + version: v2.403.7 Chart::Bars: file: lib/Chart/Bars.pm - version: v2.403.6 + version: v2.403.7 Chart::Color: file: lib/Chart/Color.pm - version: v2.403.6 + version: v2.403.7 Chart::Composite: file: lib/Chart/Composite.pm - version: v2.403.6 + version: v2.403.7 Chart::Direction: file: lib/Chart/Direction.pm - version: v2.403.6 + version: v2.403.7 Chart::ErrorBars: file: lib/Chart/ErrorBars.pm - version: v2.403.6 - Chart::Font: - file: lib/Chart/Font.pm - version: v2.403.6 + version: v2.403.7 Chart::HorizontalBars: file: lib/Chart/HorizontalBars.pm - version: v2.403.6 + version: v2.403.7 Chart::Lines: file: lib/Chart/Lines.pm - version: v2.403.6 + version: v2.403.7 Chart::LinesPoints: file: lib/Chart/LinesPoints.pm - version: v2.403.6 + version: v2.403.7 Chart::Mountain: file: lib/Chart/Mountain.pm - version: v2.403.6 + version: v2.403.7 Chart::Pareto: file: lib/Chart/Pareto.pm - version: v2.403.6 + version: v2.403.7 Chart::Pie: file: lib/Chart/Pie.pm - version: v2.403.6 + version: v2.403.7 Chart::Points: file: lib/Chart/Points.pm - version: v2.403.6 + version: v2.403.7 Chart::Property: file: lib/Chart/Property.pm - version: v2.403.6 + version: v2.403.7 + Chart::Property::DataType::Font: + file: lib/Chart/Property/DataType/Font.pm + version: v2.403.7 Chart::Split: file: lib/Chart/Split.pm - version: v2.403.6 + version: v2.403.7 Chart::StackedBars: file: lib/Chart/StackedBars.pm - version: v2.403.6 + version: v2.403.7 requires: Carp: '1.35' GD: '2' perl: v5.12.0 resources: repository: git://github.com/lichtkind/Chart.git -version: v2.403.6 +version: v2.403.7 x_generated_by_perl: v5.30.0 x_maintainers: - 'Herbert Breunung <lichtk...@cpan.org>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/Makefile.PL new/Chart-v2.403.7/Makefile.PL --- old/Chart-v2.403.6/Makefile.PL 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/Makefile.PL 2022-07-29 23:05:09.000000000 +0200 @@ -25,7 +25,7 @@ "Test::More" => "1.3", "Test::Warn" => "0.30" }, - "VERSION" => "v2.403.6", + "VERSION" => "v2.403.7", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/README new/Chart-v2.403.7/README --- old/Chart-v2.403.6/README 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/README 2022-07-29 23:05:09.000000000 +0200 @@ -36,7 +36,7 @@ $imagemap_ref = $obj->imagemap_dump (); DESCRIPTION - Chart help you to create PNG and JPG images with visualizations of + Chart helps you to create PNG and JPG images with visualizations of numeric data. This page gives you a summary how to use it. For a more thorough documentation and lots of example code please visit the Chart::Manual. @@ -51,8 +51,8 @@ use Chart::Lines; - would invoke the lines module. Alternatively write to load all chart - types at ones with + would invoke the lines module. Alternatively load all chart types at + ones and write: use Chart; @@ -119,7 +119,7 @@ src=image.pl<gt> HTML tag). The @data array should be set up the same way as for the normal png method. - Graph.pm-style API + column based API You might ask, "But what if I just want to add a few points to the graph, and then display it, without all those references to references?". Well, friend, the solution is simple. Borrowing the add_pt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/TODO new/Chart-v2.403.7/TODO --- old/Chart-v2.403.6/TODO 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/TODO 2022-07-29 23:05:09.000000000 +0200 @@ -1,7 +1,7 @@ ROADMAP: ------- -3.0 rewrite comlete +3.0 rewrite complete ... 2.406 rewrite axis, tiks, label, box rendering @@ -10,7 +10,7 @@ we are here <------------------------------------------------- -2.403 dropped old pdf and html and added new POD documentation with embedded HML img +2.403 replaced old pdf and html with new POD documentation with embedded HML img 2.402 new, powerful color management: HSL, hex_RGB, hash_RGB, Pantone colors 2.401 reformat distribution to be based on Dist::Zilla, solve CPAN issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Bars.pm new/Chart-v2.403.7/lib/Chart/Bars.pm --- old/Chart-v2.403.6/lib/Chart/Bars.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Bars.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ package Chart::Bars; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Base.pm new/Chart-v2.403.7/lib/Chart/Base.pm --- old/Chart-v2.403.6/lib/Chart/Base.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Base.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,14 +5,14 @@ use v5.12; package Chart::Base; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use FileHandle; use Carp; use GD; use GD::Image; use Chart::Color; -#use Chart::Font; +#use Property::DataType::Font; #>>>>>>>>>>>>>>>>>>>>>>>>>># # public methods # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/BrushStyles.pm new/Chart-v2.403.7/lib/Chart/BrushStyles.pm --- old/Chart-v2.403.6/lib/Chart/BrushStyles.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/BrushStyles.pm 2022-07-29 23:05:09.000000000 +0200 @@ -4,7 +4,7 @@ use v5.12; package Chart::BrushStyles; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Color/Constant.pm new/Chart-v2.403.7/lib/Chart/Color/Constant.pm --- old/Chart-v2.403.6/lib/Chart/Color/Constant.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Color/Constant.pm 2022-07-29 23:05:09.000000000 +0200 @@ -3,7 +3,7 @@ # named colors from X11, HTML (SVG) standard and Pantone report package Chart::Color::Constant; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; use Chart::Color::Value; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Color/Value.pm new/Chart-v2.403.7/lib/Chart/Color/Value.pm --- old/Chart-v2.403.6/lib/Chart/Color/Value.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Color/Value.pm 2022-07-29 23:05:09.000000000 +0200 @@ -3,7 +3,7 @@ # check, convert and measure color values package Chart::Color::Value; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; sub check_rgb { # carp returns 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Color.pm new/Chart-v2.403.7/lib/Chart/Color.pm --- old/Chart-v2.403.6/lib/Chart/Color.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Color.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ use v5.12; package Chart::Color; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; use Chart::Color::Constant; @@ -347,7 +347,7 @@ Name of the color in the X11 or HTML (SVG) standard or the Pantone report. The name will be found and filled in, even when the object is created with RGB or HSL values. If the color is not found in any of the mentioned -standards, it returns an empty string. +standards, it returns an empty string. All names are at: L<Chart::Color::Constant/NAMES> =head2 string diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Composite.pm new/Chart-v2.403.7/lib/Chart/Composite.pm --- old/Chart-v2.403.6/lib/Chart/Composite.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Composite.pm 2022-07-29 23:05:09.000000000 +0200 @@ -4,7 +4,7 @@ package Chart::Composite; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Constants.pm new/Chart-v2.403.7/lib/Chart/Constants.pm --- old/Chart-v2.403.6/lib/Chart/Constants.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Constants.pm 2022-07-29 23:05:09.000000000 +0200 @@ -4,7 +4,7 @@ use v5.12; package Chart::Constants; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use constant PI => 4 * atan2( 1, 1 ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Direction.pm new/Chart-v2.403.7/lib/Chart/Direction.pm --- old/Chart-v2.403.6/lib/Chart/Direction.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Direction.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ package Chart::Direction; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/ErrorBars.pm new/Chart-v2.403.7/lib/Chart/ErrorBars.pm --- old/Chart-v2.403.6/lib/Chart/ErrorBars.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/ErrorBars.pm 2022-07-29 23:05:09.000000000 +0200 @@ -6,7 +6,7 @@ package Chart::ErrorBars; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Font.pm new/Chart-v2.403.7/lib/Chart/Font.pm --- old/Chart-v2.403.6/lib/Chart/Font.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Font.pm 1970-01-01 01:00:00.000000000 +0100 @@ -1,90 +0,0 @@ - -# - -use v5.12; - -package Chart::Font; -our $VERSION = 'v2.403.6'; - -use Carp; - -## constructor ######################################################### - -sub new { - my $pkg = shift; - my $def = shift; - return unless ref $def eq 'HASH'; - bless {}; -} - -## getter ############################################################## - -sub name { - -} - -sub bold { - -} - -sub size { - -} - -sub unicode { -} - -sub truetype { - -} - - -1; - -__END__ - -=pod - -=head1 NAME - -Chart::Font - read only single font holding objects - -=head1 SYNOPSIS - - my $red = Chart::Color->new('red'); - say $red->add('blue')->name; # magenta, mixed in RGB space - Chart::Color->new( 0, 0, 255)->hsl # 240, 100, 50 = blue - $blue->blend_with({H=> 0, S=> 0, L=> 80}, 0.1);# mix blue with a little grey - $red->gradient( '#0000FF', 10); # 10 colors from red to blue - $red->complementary( 3 ); # get fitting red green and blue - -=head1 DESCRIPTION - - - -=head1 COPYRIGHT & LICENSE - -Copyright 2022 Herbert Breunung. - -This program is free software; you can redistribute it and/or modify it -under same terms as Perl itself. - -=head1 AUTHOR - -Herbert Breunung, <lichtk...@cpan.org> - -=cut - - -__END__ -$im->string( GD::Font->Tiny , 20, 20, 'Tiny', 2); -$im->string( GD::Font->Small , 20, 50, 'Small', 1); -$im->string( GD::Font->MediumBold , 20, 80, 'MediumBold', 2); -$im->string( GD::Font->Large , 20, 110, 'Large', 1); -$im->string( GD::Font->Giant , 20, 140, 'Giant', 2); - -gdTinyFont -gdSmallFont -gdMediumBoldFont -gdLargeFont -gdGiantFont diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/HorizontalBars.pm new/Chart-v2.403.7/lib/Chart/HorizontalBars.pm --- old/Chart-v2.403.6/lib/Chart/HorizontalBars.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/HorizontalBars.pm 2022-07-29 23:05:09.000000000 +0200 @@ -3,7 +3,7 @@ package Chart::HorizontalBars; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Lines.pm new/Chart-v2.403.7/lib/Chart/Lines.pm --- old/Chart-v2.403.6/lib/Chart/Lines.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Lines.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ package Chart::Lines; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/LinesPoints.pm new/Chart-v2.403.7/lib/Chart/LinesPoints.pm --- old/Chart-v2.403.6/lib/Chart/LinesPoints.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/LinesPoints.pm 2022-07-29 23:05:09.000000000 +0200 @@ -8,7 +8,7 @@ package Chart::LinesPoints; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Manual/Properties.pod new/Chart-v2.403.7/lib/Chart/Manual/Properties.pod --- old/Chart-v2.403.6/lib/Chart/Manual/Properties.pod 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Manual/Properties.pod 2022-07-29 23:05:09.000000000 +0200 @@ -12,12 +12,13 @@ $chart_object->set( %properties); $chart_object->set( key => 'value', ... ); -This page documents all viable keys and values for this method. +This page documents all viable keys and values for this calls. + The first section lists the most common data types and their acceptable values. -Please note that every chart L<type|Chart::Manual::Types> reacts only to -a distinct property subset. The L<section section|/"BY CHART TYPE"> +Please note that all chart L<type|Chart::Manual::Types> reacts only to +a distinct subset of properties. The L<section section|/"BY CHART TYPE"> therefore groups all properties by chart type or set of types, where they have an effect. The descriptions in this section are shortened to achive a tabular overview. @@ -25,6 +26,11 @@ A fuller description of each property provides the L<third section|/ALPHABETICALLY>, where they are alpabetically sorted. +The general layout of a chart image: + +=for HTML <p> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/layout.png" alt="layout"> +</p> =head1 DATA TYPES @@ -74,7 +80,7 @@ =head2 integer -Whole numbers (without decimals) to set position, size and alike +Whole numbers (without decimals) to set position, size and alike. =head2 positive integer @@ -460,9 +466,9 @@ Lets Chart know you're going to ask for information about the placement of the data for use in creating an image map from the png. This information -can be retrieved using the imagemap_dump() method. NB. that the -imagemap_dump() method cannot be called until after the Chart has been -generated (ie. using the png() or cgi_png() methods). +can be retrieved using the L<imagemap_dump()|Chart::Manual::Methods/imagemap_dump> +method. NB. that the imagemap_dump() method cannot be called until after +the Chart has been L<generated|"/Chart::Manual::Workflows/create image">. =head2 include_zero diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Manual/Types.pod new/Chart-v2.403.7/lib/Chart/Manual/Types.pod --- old/Chart-v2.403.6/lib/Chart/Manual/Types.pod 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Manual/Types.pod 2022-07-29 23:05:09.000000000 +0200 @@ -21,7 +21,7 @@ which are width and height of the later generated image. -=head1 Bars +=head2 Bars =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/bars.png" alt="dual bar chart" width="500" height="300"> @@ -70,7 +70,7 @@ $g->png("bars.png"); -=head1 Composite +=head2 Composite =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/composite.png" alt="composite chart"> @@ -113,7 +113,7 @@ $g->png("composite.png"); -=head1 Direction +=head2 Direction =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/direction.png" alt="polar chart"> @@ -176,7 +176,7 @@ $g->png("direction.png"); -=head1 ErrorBars +=head2 ErrorBars =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/error.png" alt="error bar chart"> @@ -223,7 +223,7 @@ $g->png("error.png"); -=head1 HorizontalBars +=head2 HorizontalBars =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/hbars.png" alt="horizontal bar chart"> @@ -233,8 +233,8 @@ Same rules apply as in L</Bars>, except due negative values in our data sets here L<min_val|Chart::Manual::Properties/min_val> doesn't have to be set to zero. And instead of L<y_grid_lines|Chart::Manual::Properties/y_grid_lines> -we activate and color L<x_grid_lines|Chart::Manual::Properties/x_grid_lines> - +we activate and color L<x_grid_lines|Chart::Manual::Properties/x_grid_lines>. +Deactivating the grey background of the plot just adds a little friendliness. use Chart::HorizontalBars; @@ -256,6 +256,7 @@ y_label => 'gray40', title => 'gray20', } + grey_background => 'false', ); $g->png("hbars.png"); @@ -297,7 +298,7 @@ $g->png("lines.png"); -=head1 LinesPoints +=head2 LinesPoints =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/linespoints.png" alt="xy chart with connected points"> @@ -314,7 +315,7 @@ and L<y_label|Chart::Manual::Properties/y_label> and set L<xy_plot|Chart::Manual::Properties/xy_plot> off, which is not really needed, since it is on C<'false'> per default. This allows you to give the x-axis none numerical, custom tick labels, -which are by accident the numbers 1 .. 18, as the first data row shows. +which are by accident the numbers 1 .. 17, as the first data row shows. The purpose of this maneuver is to not have zero as the first column label. Because the origin of coordinate system is usually in the left lower @@ -333,15 +334,18 @@ my $g = Chart::LinesPoints->new( 600, 300 ); $g->set( - 'title' => 'Soccer Season 2002', - 'legend_labels' => ['NY Soccer Club', 'Denver Tigers', - 'Houston Spacecats', 'Washington Presidents'], - 'y_label' => 'position in the table', - 'x_label' => 'day of play', - 'grid_lines' => 'true', - 'f_y_tick' => sub { - $_[0] }, - # 'xy_plot' => 'false', - 'integer_ticks_only' => 'true', + title => 'Soccer Season 2002', + legend_labels => ['NY Soccer Club', 'Denver Tigers', + 'Houston Spacecats', 'Washington Presidents'], + y_label => 'position in the table', + x_label => 'day of play', + grid_lines => 'true', + f_y_tick => sub { - $_[0] }, + # xy_plot => 'true', + integer_ticks_only => 'true', + colors => { + grid_lines => 'gray70', + }, ); $g->png("linespoints.png", [ [qw(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17)], @@ -352,7 +356,7 @@ ]); -=head1 Mountain +=head2 Mountain =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/mountain.png" alt="mountain chart"> @@ -402,7 +406,7 @@ $g->png( 'mountain.png', \@data ); -=head1 Pareto +=head2 Pareto =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/pareto.png" alt="pareto chart"> @@ -413,14 +417,15 @@ only one), while the line represent the accumulation (sum of all values from the start on the left up to this value). For a better orientation the absolute values should be sorted. In case your data set is not already, -change the property <sort|Chart::Manual::Properties/sort> to C<'true'>. +change the property L<sort|Chart::Manual::Properties/sort> to C<'true'>. (Note that the days of the week are not in chronological order, but in the order of decreasing sale amounts.) The first given data set is like in most cases the domain (x-axis labels). So the color of the first data set containing numbers has the color of L<dataset0|Chart::Manual::Properties/colors-datasetx> and the accumulation gets the color of dataset1 (which are per default also red and green, -but in reverse order). +but in reverse order). We choose a Pantone Report designer red, which +sticks out but is not too shrill. For better optics we set L<spaced_bars|Chart::Manual::Properties/spaced_bars> off, so that the bars touch each other and give a nice counterweight to @@ -450,15 +455,15 @@ colors => { title => 'darkblue', dataset0 => 'green', - dataset1 => 'red', - x_label => 'red', + dataset1 => 'aurorared', + x_label => 'aurorared', y_grid_lines => 'white', }, ); $g->png("pareto.png"); -=head1 Pie +=head2 Pie =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/pie.png" alt="pie chart"> @@ -466,10 +471,10 @@ The class Chart::Pie creates a pie or ring chart. The first added data set must contain the labels and the second set the values. Our example -displays a ring chart with a thickness of 35% (of the radius). -If the L<ring|Chart::Manual::Properties/ring> property is omitted, -the chart falls back to regular pie. Every ring slice is labeled with the -stated label, plus the percentage of its value, as defined with the property +displays a ring chart with a thickness of 35% (of the radius). If the +L<ring|Chart::Manual::Properties/ring> property is omitted, the chart form +falls back to regular pie. Every ring slice is labeled with the stated label, +plus the percentage of its value, as defined with the property L<label_values|Chart::Manual::Properties/label_values>. Connecting lines between label and slice are drawn because L<legend_lines|Chart::Manual::Properties/legend_lines> is set to C<'true'>. The actual legend is placed on the bottom, in order @@ -480,7 +485,7 @@ correlated with a color, here every slice has to have its own color. Thats why the first data point has the color of L<dataset0|Chart::Manual::Properties/colors-datasetx> the second of dataset1 and so forth. In most cases the default colors -are good enough unless you have special meanings in mind. Please also +are good enough, unless you have special meanings in mind. Please also note the multi line (row) title text. @@ -496,11 +501,10 @@ 'legend_lines' => 'true', 'ring' => 0.35, ); - $g->png("pie.png"); -=head1 Points +=head2 Points =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/points.png" alt="xy chart with points"> @@ -520,7 +524,8 @@ decimals on the y-axis labels and keeps it clean. The method C<add_pt> appends to every data set another value, adding another column to the chart. L<png_border|Chart::Manual::Properties/png_border> does just adds frame -of 10 pixel width around the entire image. +of 10 pixel width around the entire image. They middle gray grid lines +are just easy for the eyes. use Chart::Points; @@ -537,11 +542,15 @@ precision => 0, grid_lines => 'true', png_border => 10, + colors => { + grid_lines => 'gray70', + + }, ); $g->png("points.png"); -=head1 Split +=head2 Split =for HTML <p> <img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/split.png" alt="multi chart"> @@ -597,7 +606,12 @@ The class Chart::StackedBars is a variant of L</Bars> that stacks bars belonging to one x-value on top of each other, instead of putting them beside each other. Data sets 0..n are ordered from the bottom up. -They are in most cases more intuitive than L</Pie> charts. +They are in most cases more intuitive than L</Pie> charts, because its +easier to intuit linear than quadratic ratios. As in the Bars example we +activated horizontal grid lines, which were subtle colored. To surpress +decimals on the y-axis L<precision|Chart::Manual::Properties/precision> was turned down. +And as in most cases - the first data set is the domain, which will be +drawn as x-axis labels. use Chart::StackedBars; @@ -610,9 +624,10 @@ title => 'Stacked Bars', legend => 'left', precision => 0, + y_grid_lines => 'true', grey_background => 'false', - colors => { - x_grid_lines => 'gray70', + colors => { + grid_lines => 'gray80', misc => 'gray55', text => 'gray55', x_label => 'gray40', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Manual/Workflows.pod new/Chart-v2.403.7/lib/Chart/Manual/Workflows.pod --- old/Chart-v2.403.6/lib/Chart/Manual/Workflows.pod 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Manual/Workflows.pod 2022-07-29 23:05:09.000000000 +0200 @@ -55,7 +55,10 @@ that create the final image, take as an optional, second argument data. This data may be delivered either as a reference to an array of arrays: - my $data = [ [ 1, 4, 3 ... <data set 0> ], [ <data set 1> ], ... ]; + my $data = [ [ 1, 4, 3 ... ], # data set 0 + [ 5, 8, 2 ... ], # data set 1 + ... + ]; $graph->png( 'file.png', $data ); or in form of a file. Then the argument has to be a file name or a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Manual.pod new/Chart-v2.403.7/lib/Chart/Manual.pod --- old/Chart-v2.403.6/lib/Chart/Manual.pod 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Manual.pod 2022-07-29 23:05:09.000000000 +0200 @@ -34,7 +34,7 @@ The method C<set> allows to directly change particular chart properties. All of these explained in detail with their acceptable and default values -are sorted there by name or topic or type: +are sorted there by name and topic or type: L<Chart::Manual::Properties> @@ -43,8 +43,8 @@ Much of what is documented here will be superseded by a new API provided by upcoming version 3.0. The old API will be discouraged but not deprecated, -except maybe the module Chart::Composite. - +except maybe the module Chart::Composite and some properties. +The new API will aply only to objects created by Chart-E<gt>new(...); =head1 COPYRIGHT & LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Mountain.pm new/Chart-v2.403.7/lib/Chart/Mountain.pm --- old/Chart-v2.403.6/lib/Chart/Mountain.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Mountain.pm 2022-07-29 23:05:09.000000000 +0200 @@ -24,7 +24,7 @@ package Chart::Mountain; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Pareto.pm new/Chart-v2.403.7/lib/Chart/Pareto.pm --- old/Chart-v2.403.6/lib/Chart/Pareto.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Pareto.pm 2022-07-29 23:05:09.000000000 +0200 @@ -2,7 +2,7 @@ package Chart::Pareto; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Pie.pm new/Chart-v2.403.7/lib/Chart/Pie.pm --- old/Chart-v2.403.6/lib/Chart/Pie.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Pie.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ package Chart::Pie; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Points.pm new/Chart-v2.403.7/lib/Chart/Points.pm --- old/Chart-v2.403.6/lib/Chart/Points.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Points.pm 2022-07-29 23:05:09.000000000 +0200 @@ -5,7 +5,7 @@ package Chart::Points; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Property/DataType/Font.pm new/Chart-v2.403.7/lib/Chart/Property/DataType/Font.pm --- old/Chart-v2.403.6/lib/Chart/Property/DataType/Font.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Chart-v2.403.7/lib/Chart/Property/DataType/Font.pm 2022-07-29 23:05:09.000000000 +0200 @@ -0,0 +1,90 @@ + +# + +use v5.12; + +package Chart::Property::DataType::Font; +our $VERSION = 'v2.403.7'; + +use Carp; + +## constructor ######################################################### + +sub new { + my $pkg = shift; + my $def = shift; + return unless ref $def eq 'HASH'; + bless {}; +} + +## getter ############################################################## + +sub name { + +} + +sub bold { + +} + +sub size { + +} + +sub unicode { +} + +sub truetype { + +} + + +1; + +__END__ + +=pod + +=head1 NAME + +Chart::Font - read only single font holding objects + +=head1 SYNOPSIS + + my $red = Chart::Color->new('red'); + say $red->add('blue')->name; # magenta, mixed in RGB space + Chart::Color->new( 0, 0, 255)->hsl # 240, 100, 50 = blue + $blue->blend_with({H=> 0, S=> 0, L=> 80}, 0.1);# mix blue with a little grey + $red->gradient( '#0000FF', 10); # 10 colors from red to blue + $red->complementary( 3 ); # get fitting red green and blue + +=head1 DESCRIPTION + + + +=head1 COPYRIGHT & LICENSE + +Copyright 2022 Herbert Breunung. + +This program is free software; you can redistribute it and/or modify it +under same terms as Perl itself. + +=head1 AUTHOR + +Herbert Breunung, <lichtk...@cpan.org> + +=cut + + +__END__ +$im->string( GD::Font->Tiny , 20, 20, 'Tiny', 2); +$im->string( GD::Font->Small , 20, 50, 'Small', 1); +$im->string( GD::Font->MediumBold , 20, 80, 'MediumBold', 2); +$im->string( GD::Font->Large , 20, 110, 'Large', 1); +$im->string( GD::Font->Giant , 20, 140, 'Giant', 2); + +gdTinyFont +gdSmallFont +gdMediumBoldFont +gdLargeFont +gdGiantFont diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Property.pm new/Chart-v2.403.7/lib/Chart/Property.pm --- old/Chart-v2.403.6/lib/Chart/Property.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Property.pm 2022-07-29 23:05:09.000000000 +0200 @@ -4,7 +4,7 @@ use v5.12; package Chart::Property; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Carp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/Split.pm new/Chart-v2.403.7/lib/Chart/Split.pm --- old/Chart-v2.403.6/lib/Chart/Split.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/Split.pm 2022-07-29 23:05:09.000000000 +0200 @@ -18,7 +18,7 @@ package Chart::Split; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart/StackedBars.pm new/Chart-v2.403.7/lib/Chart/StackedBars.pm --- old/Chart-v2.403.6/lib/Chart/StackedBars.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart/StackedBars.pm 2022-07-29 23:05:09.000000000 +0200 @@ -2,7 +2,7 @@ package Chart::StackedBars; our @ISA = qw(Chart::Base); -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Base; use GD; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Chart-v2.403.6/lib/Chart.pm new/Chart-v2.403.7/lib/Chart.pm --- old/Chart-v2.403.6/lib/Chart.pm 2022-07-21 14:07:44.000000000 +0200 +++ new/Chart-v2.403.7/lib/Chart.pm 2022-07-29 23:05:09.000000000 +0200 @@ -1,7 +1,7 @@ use v5.12; package Chart; -our $VERSION = 'v2.403.6'; +our $VERSION = 'v2.403.7'; use Chart::Points; use Chart::Lines; @@ -66,22 +66,22 @@ =head1 DESCRIPTION -Chart help you to create PNG and JPG images with visualizations of numeric data. +Chart helps you to create PNG and JPG images with visualizations of numeric data. This page gives you a summary how to use it. For a more thorough documentation and lots of example code please visit the L<Chart::Manual>. =for HTML <p> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/manual/points.png" alt="point chart" width="300" height="225"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/composite_f.png" alt="composite of bars and lines" width="300" height="225"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/stackedbars.png" alt="stacked bars" width="300" height="200"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/bars_2.png" alt="multi bar chart" width="300" height="250"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/hbars_2.png" alt="horizontal bar chart" width="300" height="240"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/direction_4.png" alt="polar chart" width="250" height="250"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/pie_4.png" alt="pie chart" width="250" height="225"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/mountain_2-1.png" alt="mountain chart" width="300" height="225"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/split_2.png" alt="split chart" width="250" height="250"> -<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/test/error_1.png" alt="error bar chart" width="300" height="225"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/points.png" alt="point chart" width="300" height="225"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/composite.png" alt="composite of bars and lines" width="300" height="225"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/sbars.png" alt="stacked bars" width="300" height="200"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/bars.png" alt="multi bar chart" width="300" height="250"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/hbars.png" alt="horizontal bar chart" width="300" height="240"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/polar.png" alt="polar chart" width="250" height="250"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/ring.png" alt="pie chart" width="250" height="225"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/mountain.png" alt="mountain chart" width="300" height="225"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/split.png" alt="split chart" width="250" height="250"> +<img src="https://raw.githubusercontent.com/lichtkind/Chart/main/dev/example/landing/error.png" alt="error bar chart" width="300" height="225"> </p> =head2 use-ing Chart @@ -97,7 +97,7 @@ use Chart::Lines; would invoke the lines module. -Alternatively write to load all chart types at ones with +Alternatively load all chart types at ones and write: use Chart; @@ -175,7 +175,7 @@ =back -=head2 Graph.pm-style API +=head2 column based API You might ask, "But what if I just want to add a few points to the graph, and then display it, without all those references to references?". Well,