summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2022-04-04 19:13:19 +0200
committergregor herrmann <gregoa@debian.org>2022-04-04 19:13:19 +0200
commit03e9fa13a261afc82285e7461d3c5f250337043f (patch)
tree13d617e0423fab777e92c3696902f2a9e4c4da3e
parentf1423a2a29b6e9e2ffec236cca3d6574bbc1c6c9 (diff)
New upstream version 2.400.10+ds
-rw-r--r--CONTRIBUTING21
-rw-r--r--Changes (renamed from README)48
-rw-r--r--Chart/Constants.pm29
-rw-r--r--LICENSE76
-rw-r--r--MANIFEST40
-rw-r--r--META.yml20
-rw-r--r--Makefile.PL2
-rw-r--r--Readme.md50
-rw-r--r--cpanfile3
-rw-r--r--lib/Chart.pm (renamed from Chart.pod)18
-rw-r--r--lib/Chart/Bars.pm (renamed from Chart/Bars.pm)11
-rw-r--r--lib/Chart/Base.pm (renamed from Chart/Base.pm)9
-rw-r--r--lib/Chart/BrushStyles.pm (renamed from Chart/BrushStyles.pm)4
-rw-r--r--lib/Chart/Composite.pm (renamed from Chart/Composite.pm)4
-rw-r--r--lib/Chart/Constants.pm10
-rw-r--r--lib/Chart/Direction.pm (renamed from Chart/Direction.pm)6
-rw-r--r--lib/Chart/ErrorBars.pm (renamed from Chart/ErrorBars.pm)5
-rw-r--r--lib/Chart/HorizontalBars.pm (renamed from Chart/HorizontalBars.pm)4
-rw-r--r--lib/Chart/Lines.pm (renamed from Chart/Lines.pm)4
-rw-r--r--lib/Chart/LinesPoints.pm (renamed from Chart/LinesPoints.pm)4
-rw-r--r--lib/Chart/Mountain.pm (renamed from Chart/Mountain.pm)4
-rw-r--r--lib/Chart/Pareto.pm (renamed from Chart/Pareto.pm)4
-rw-r--r--lib/Chart/Pie.pm (renamed from Chart/Pie.pm)4
-rw-r--r--lib/Chart/Points.pm (renamed from Chart/Points.pm)4
-rw-r--r--lib/Chart/Split.pm (renamed from Chart/Split.pm)4
-rw-r--r--lib/Chart/StackedBars.pm (renamed from Chart/StackedBars.pm)4
-rw-r--r--pm_to_blib0
-rw-r--r--t/Humidity.t2
-rw-r--r--t/Math_1_over_x.t1
-rw-r--r--t/bars.t1
-rw-r--r--t/bars_10.t1
-rw-r--r--t/bars_2.t2
-rw-r--r--t/bars_3.t3
-rw-r--r--t/bars_4.t2
-rw-r--r--t/bars_5.t3
-rw-r--r--t/bars_6.t3
-rw-r--r--t/bars_7.t1
-rw-r--r--t/bars_8.t1
-rw-r--r--t/bars_9.t1
-rw-r--r--t/composite.t1
-rw-r--r--t/composite_1.t1
-rw-r--r--t/composite_2.t1
-rw-r--r--t/composite_3.t2
-rw-r--r--t/composite_4.t1
-rw-r--r--t/composite_5.t1
-rw-r--r--t/composite_6.t1
-rw-r--r--t/composite_7.t1
-rw-r--r--t/composite_8.t2
-rw-r--r--t/composite_f.t1
-rw-r--r--t/direction_1.t1
-rw-r--r--t/direction_2.t1
-rw-r--r--t/direction_3.t1
-rw-r--r--t/direction_4.t1
-rw-r--r--t/error_1.t1
-rw-r--r--t/error_2.t1
-rw-r--r--t/f_ticks.t1
-rw-r--r--t/f_ticks_1.t1
-rw-r--r--t/hbars_1.t1
-rw-r--r--t/hbars_2.t1
-rw-r--r--t/hbars_3.t1
-rw-r--r--t/hbars_4.t1
-rw-r--r--t/lines.t1
-rw-r--r--t/lines_1.t1
-rw-r--r--t/lines_2.t2
-rw-r--r--t/lines_3.t2
-rw-r--r--t/lines_4.t1
-rw-r--r--t/lines_5.t1
-rw-r--r--t/lines_6.t1
-rw-r--r--t/lines_7.t1
-rw-r--r--t/lines_8.t1
-rw-r--r--t/lines_9.t1
-rw-r--r--t/linespoints.t1
-rw-r--r--t/linespoints_1.t1
-rw-r--r--t/linespoints_2.t1
-rw-r--r--t/linespoints_3.t1
-rw-r--r--t/linespoints_4.t1
-rw-r--r--t/linespoints_5.t1
-rw-r--r--t/linespoints_6.t1
-rw-r--r--t/linespoints_7.t1
-rw-r--r--t/mapbars.t2
-rw-r--r--t/mapcomp.t1
-rw-r--r--t/mountain.t1
-rw-r--r--t/mountain_2.t1
-rw-r--r--t/mountain_3.t1
-rw-r--r--t/mountain_4.t1
-rw-r--r--t/pareto_1.t1
-rw-r--r--t/pareto_2.t2
-rw-r--r--t/pareto_3.t1
-rw-r--r--t/pie_1.t1
-rw-r--r--t/pie_10.t1
-rw-r--r--t/pie_11.t1
-rw-r--r--t/pie_2.t1
-rw-r--r--t/pie_3.t1
-rw-r--r--t/pie_4.t1
-rw-r--r--t/pie_5.t1
-rw-r--r--t/pie_6.t2
-rw-r--r--t/pie_7.t1
-rw-r--r--t/pie_8.t1
-rw-r--r--t/pie_9.t1
-rw-r--r--t/points.t1
-rw-r--r--t/points_100.t1
-rw-r--r--t/points_2.t1
-rw-r--r--t/points_3.t1
-rw-r--r--t/points_4.t1
-rw-r--r--t/points_5.t1
-rw-r--r--t/scalarImage.t1
-rw-r--r--t/split_1.t1
-rw-r--r--t/split_2.t1
-rw-r--r--t/stackedbars.t1
-rw-r--r--t/stackedbars_2.t1
-rw-r--r--t/stackedbars_3.t1
-rw-r--r--t/stackedbars_4.t1
112 files changed, 351 insertions, 142 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING
new file mode 100644
index 0000000..ece0e53
--- /dev/null
+++ b/CONTRIBUTING
@@ -0,0 +1,21 @@
+
+
+Please submit Bug reports under
+
+ https://rt.cpan.org/Dist/Display.html?Name=Chart (preferred)
+
+ or if you like
+
+ https://github.com/lichtkind/Chart/issues
+
+
+Patches are welcome under:
+
+ https://github.com/lichtkind/Chart/pulls (preferred)
+
+ but arrive also via
+
+ https://rt.cpan.org/Dist/Display.html?Name=Chart
+
+
+Also feature Requests are welcome but please read the TODO first.
diff --git a/README b/Changes
index 14e3a07..02709ae 100644
--- a/README
+++ b/Changes
@@ -1,32 +1,10 @@
-------------------------------------------------------------------------
-Chart version 2.4.10
-------------------------------------------------------------------------
+2.400.10 2022-04-02
+ = Testrelease for new metafiles
+2.400.5 2022-03-31
+ = Upload fix for failed 2.4.19 .. 2.400.04
+ ? first upload by new maintainer: LICHTKIND
-----------
-INSTALLING
-----------
-
-The usual.
-
- perl Makefile.PL
- make
- make test
- make install
-
-This should install to your site_perl directory. The test scripts also
-put samples of the different charts in the samples/ directory.
-
-
--------------
-PREREQUISITES
--------------
-
-Lincoln Stein's GD module version 2.0.36 or higher.
-
--------
-CHANGES
--------
2.4.10 Upload to pause.perl.org failed for version 2.4.9. Therefore, the version 2.4.9 was renamed to 2.4.10
for a new upload.
@@ -261,19 +239,3 @@ CHANGES
Fixed the y-axis label centering problem
Fixed pre-5.004 compilation problem
Added StackedBars charts
-
-------
-MAINTAINER
-------
-
-Chart-Group (chart@fs.wettzell.de)
-
----------
-COPYRIGHT
----------
-
-Copyright(c) 1997-1998 David Bonner, 1999 Peter Clark,
-2001-2012 Chart-Group at BKG.
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
diff --git a/Chart/Constants.pm b/Chart/Constants.pm
deleted file mode 100644
index a13ae38..0000000
--- a/Chart/Constants.pm
+++ /dev/null
@@ -1,29 +0,0 @@
-## @file
-# Constants used in Chart:\n
-# PI
-#
-# written and maintained by
-# @author Chart Group at Geodetic Fundamental Station Wettzell (Chart@fs.wettzell.de)
-# @date 2015-03-01
-# @version 2.4.10
-#
-
-## @class Chart::Constants
-# @brief Constants class defines all necessary constants for Class Chart
-#
-# Defined are \n
-# PI = 3.141...\n
-# \n
-# Usage:\n
-# @code
-# use Chart::Constants;
-# my $pi = Chart::Constants::PI;
-# @endcode
-package Chart::Constants;
-use strict;
-
-# set up initial constant values
-use constant PI => 4 * atan2( 1, 1 );
-
-# be a good module
-1;
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ffca941
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,76 @@
+This software is copyright (c) 1997-2022 by Chart-Group (CHARTGRP).
+
+Copyright of the following text: (c) 2000-2006, The Perl Foundation.
+
+----------------------------------------------------------------------------------------------------
+
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+Preamble
+
+This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software.
+
+You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement.
+Definitions
+
+"Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package.
+
+"Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures.
+
+"You" and "your" means any person who would like to copy, distribute, or modify the Package.
+
+"Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version.
+
+"Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization.
+
+"Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees.
+
+"Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder.
+
+"Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder.
+
+"Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future.
+
+"Source" form means the source code, documentation source, and configuration files for the Package.
+
+"Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form.
+Permission for Use and Modification Without Distribution
+
+(1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version.
+Permissions for Redistribution of the Standard Version
+
+(2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package.
+
+(3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License.
+Distribution of Modified Versions of the Package as Source
+
+(4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following:
+
+(a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version.
+(b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version.
+(c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under
+(i) the Original License or
+(ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed.
+Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source
+
+(5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license.
+
+(6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version.
+Aggregating or Linking the Package
+
+(7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation.
+
+(8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package.
+Items That are Not Considered Part of a Modified Version
+
+(9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license.
+General Provisions
+
+(10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license.
+
+(11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license.
+
+(12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder.
+
+(13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed.
+
+(14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/MANIFEST b/MANIFEST
index deabf99..30d3726 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,20 +1,6 @@
-Chart.pod
-Chart/Bars.pm
-Chart/Base.pm
-Chart/BrushStyles.pm
-Chart/Composite.pm
-Chart/Constants.pm
-Chart/Direction.pm
-Chart/ErrorBars.pm
-Chart/HorizontalBars.pm
-Chart/Lines.pm
-Chart/LinesPoints.pm
-Chart/Mountain.pm
-Chart/Pareto.pm
-Chart/Pie.pm
-Chart/Points.pm
-Chart/Split.pm
-Chart/StackedBars.pm
+Changes
+CONTRIBUTING
+cpanfile
doc/html/annotated.html
doc/html/annotated.js
doc/html/Bars_8pm.html
@@ -286,6 +272,24 @@ doc/LaTeX/Stacked.tex
doc/LaTeX/stackedbars.png
doc/LaTeX/stunde.png
Documentation.pdf
+LICENCE
+lib/Chart.pm
+lib/Chart/Bars.pm
+lib/Chart/Base.pm
+lib/Chart/BrushStyles.pm
+lib/Chart/Composite.pm
+lib/Chart/Constants.pm
+lib/Chart/Direction.pm
+lib/Chart/ErrorBars.pm
+lib/Chart/HorizontalBars.pm
+lib/Chart/Lines.pm
+lib/Chart/LinesPoints.pm
+lib/Chart/Mountain.pm
+lib/Chart/Pareto.pm
+lib/Chart/Pie.pm
+lib/Chart/Points.pm
+lib/Chart/Split.pm
+lib/Chart/StackedBars.pm
Makefile.PL
MANIFEST
META.yml
@@ -303,7 +307,7 @@ patterns/PATTERN4.PNG
patterns/PATTERN5.GIF
patterns/PATTERN5.PNG
pm_to_blib
-README
+Readme.md
t/bars.t
t/bars_10.t
t/bars_2.t
diff --git a/META.yml b/META.yml
index 60317c9..4757464 100644
--- a/META.yml
+++ b/META.yml
@@ -1,20 +1,30 @@
--- #YAML:1.0
name: Chart
-version: 2.4.10
-abstract: ~
-author: []
-license: unknown
-distribution_type: module
+version: 2.400.10
+abstract: a series of charting modules
+author:
+ - 'Chart-Group <chartgrp@web.de>'
+ - 'Herbert Breunung <lichtkind@cpan.org>'
+license: artistic_2
+distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
+provides:
+ Chart:
+ file: lib/Chart.pm
+ version: 2.400.10
requires:
+ perl: '5.012000'
GD: 2
+ Carp: 1.35
no_index:
directory:
- t
- inc
+ - doc
+ - patterns
generated_by: ExtUtils::MakeMaker version 6.57_05
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
diff --git a/Makefile.PL b/Makefile.PL
index b6e0f82..d6c370b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,4 +7,4 @@ mkdir ('samples', 00755);
WriteMakefile ( 'NAME' => 'Chart',
'PREREQ_PM' => { 'GD' => 2.0 },
'dist' => { 'COMPRESS' => 'gzip', 'SUFFIX' => 'gz' },
- 'VERSION' => '2.4.10' )
+ 'VERSION' => '2.400.10' )
diff --git a/Readme.md b/Readme.md
new file mode 100644
index 0000000..3e055f6
--- /dev/null
+++ b/Readme.md
@@ -0,0 +1,50 @@
+# NAME
+
+ Chart - a series of charting modules
+
+# VERSION
+
+ 2.400.10
+
+# INSTALLING
+
+
+ The usual.
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+ This should install to your site_perl directory. The test scripts also
+ put samples of the different charts in the samples/ directory.
+
+
+# PREREQUISITES
+
+ Lincoln Stein's GD module version 2.0.36 or higher.
+ Carp
+
+# CHANGES
+
+ are in file Changes
+
+# MAINTAINER
+
+ - Chart-Group (chart@fs.wettzell.de)
+ - Herbert Breunung (lichtkind@cpan.org)
+
+
+# CONTRIBUTING
+
+
+ If you want to help please read file CONTRIBUTING
+
+
+# COPYRIGHT
+
+ Copyright(c) 1997-1998 David Bonner, 1999 Peter Clark,
+ 2001-2012 Chart-Group at BKG.
+ All rights reserved.
+ This program is free software; you can redistribute it and/or modify it under
+ the same terms as Perl itself.
diff --git a/cpanfile b/cpanfile
new file mode 100644
index 0000000..2b2b3f4
--- /dev/null
+++ b/cpanfile
@@ -0,0 +1,3 @@
+requires 'perl', '5.012000';
+requires 'GD', 2;
+requires 'Carp', 1.35;
diff --git a/Chart.pod b/lib/Chart.pm
index da01424..d801638 100644
--- a/Chart.pod
+++ b/lib/Chart.pm
@@ -1,3 +1,12 @@
+
+package Chart;
+
+our $VERSION = 2.400.10;
+
+1;
+
+=pod
+
=head1 NAME
Chart - a series of charting modules
@@ -689,7 +698,6 @@ The cgi_png method will print the chart, along with the appropriate http
header, to stdout, allowing you to call chart-generating scripts directly
from your html pages (ie. with a <lt>img src=image.pl<gt> HTML tag).
-=back
=item Produce a png image as a scalar
@@ -699,8 +707,6 @@ s/he wants to with it:
$obj-scalar_png($dataref)
-=back
-
=item Produce a jpeg image as a scalar
@@ -757,9 +763,12 @@ since that's the place in the @data array for the data point labels.
Add some 3-D graphs.
Include True Type Fonts
+Violine and Box plots
=back
+For elaborate plans look into the L<TODO|../TODO>.
+
=head1 BUGS
Probably quite a few, since it's been completely rewritten. As usual,
@@ -773,6 +782,7 @@ David Bonner (dbonner@cs.bu.edu)
=head1 MAINTAINER
Chart Group (Chart@fs.wettzell.de)
+Herbert Breunung (lichtkind@cpan.org)
=head1 COPYRIGHT
@@ -781,3 +791,5 @@ Copyright(c) 1997-1998 by David Bonner, 1999 by Peter Clark,
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl
itself.
+
+=cut
diff --git a/Chart/Bars.pm b/lib/Chart/Bars.pm
index ece4937..1da9648 100644
--- a/Chart/Bars.pm
+++ b/lib/Chart/Bars.pm
@@ -12,17 +12,16 @@
## @class Chart::Bars
# Bars class provides all functions which are specific to
# vertical bars
+use strict;
+
package Chart::Bars;
+our $VERSION = 2.400.5;
+@Chart::Bars::ISA = qw(Chart::Base);
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
-use strict;
-
-@Chart::Bars::ISA = qw(Chart::Base);
-$Chart::Bars::VERSION = '2.4.10';
-
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
#<<<<<<<<<<<<<<<<<<<<<<<<<<#
diff --git a/Chart/Base.pm b/lib/Chart/Base.pm
index 4e798c5..ce9811a 100644
--- a/Chart/Base.pm
+++ b/lib/Chart/Base.pm
@@ -7,7 +7,7 @@
# maintained by the
# @author Chart Group at Geodetic Fundamental Station Wettzell (Chart@fs.wettzell.de)
# @date 2015-03-01
-# @version 2.4.10
+# @version 2.400.1
## @mainpage Chart::Base
#
@@ -20,19 +20,14 @@
# This class provides all functions which are common for
# all classes
package Chart::Base;
+our $VERSION = 2.400.5;
-# Uses
-# GD
-# Carp
-# FileHandle
use GD;
use Carp;
use FileHandle;
use Chart::Constants;
use GD::Image;
-$Chart::Base::VERSION = '2.4.10';
-
use vars qw(%named_colors);
use strict;
diff --git a/Chart/BrushStyles.pm b/lib/Chart/BrushStyles.pm
index 132108f..d74529f 100644
--- a/Chart/BrushStyles.pm
+++ b/lib/Chart/BrushStyles.pm
@@ -22,15 +22,15 @@
# \see OpenRectangle\n
# \see FilledRectangle\n
package Chart::BrushStyles;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
use Chart::Constants;
@Chart::BrushStyles::ISA = qw(Chart::Base);
-$Chart::BrushStyles::VERSION = '2.4.10';
## @fn OpenCircle
# @param[in] *GD::Image $rbrush Reference to GD::Image
diff --git a/Chart/Composite.pm b/lib/Chart/Composite.pm
index 7bade53..556b916 100644
--- a/Chart/Composite.pm
+++ b/lib/Chart/Composite.pm
@@ -19,14 +19,14 @@
# composite charts
package Chart::Composite;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Composite::ISA = qw(Chart::Base);
-$Chart::Composite::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/lib/Chart/Constants.pm b/lib/Chart/Constants.pm
new file mode 100644
index 0000000..8e013f2
--- /dev/null
+++ b/lib/Chart/Constants.pm
@@ -0,0 +1,10 @@
+use v5.12;
+
+package Chart::Constants;
+our $VERSION = 2.400.5;
+
+# set up initial constant values
+use constant PI => 4 * atan2( 1, 1 );
+
+
+1; # be a good module
diff --git a/Chart/Direction.pm b/lib/Chart/Direction.pm
index f70782c..39b4e2a 100644
--- a/Chart/Direction.pm
+++ b/lib/Chart/Direction.pm
@@ -16,8 +16,9 @@
# charts
package Chart::Direction;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
@@ -25,7 +26,6 @@ use strict;
use POSIX;
@Chart::Direction::ISA = qw(Chart::Base);
-$Chart::Direction::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
@@ -511,7 +511,7 @@ sub _draw_y_ticks
$y = cos($arc) * ( $diameter / 2 + 28 ) + $centerY - 6;
#draw the labels
- $self->{'gd_obj'}->string( $font, $x, $y, $_ . '°', $textcolor );
+ $self->{'gd_obj'}->string( $font, $x, $y, $_ . '\B0', $textcolor );
$arc += ( ($angle_interval) / 360 ) * 2 * $pi;
}
diff --git a/Chart/ErrorBars.pm b/lib/Chart/ErrorBars.pm
index 560f641..6724bb7 100644
--- a/Chart/ErrorBars.pm
+++ b/lib/Chart/ErrorBars.pm
@@ -11,14 +11,13 @@
#
package Chart::ErrorBars;
-
-use Chart::Base '2.4.10';
+our $VERSION = 2.400.5;
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::ErrorBars::ISA = qw(Chart::Base);
-$Chart::ErrorBars::VERSION = '2.4.10';
## @class Chart::ErrorBars
# ErrorBars class derived from class Base.
diff --git a/Chart/HorizontalBars.pm b/lib/Chart/HorizontalBars.pm
index 4ea872a..9112279 100644
--- a/Chart/HorizontalBars.pm
+++ b/lib/Chart/HorizontalBars.pm
@@ -13,14 +13,14 @@
# horizontal bars
#
package Chart::HorizontalBars;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::HorizontalBars::ISA = qw(Chart::Base);
-$Chart::HorizontalBars::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/Lines.pm b/lib/Chart/Lines.pm
index 994bc17..c92fdd9 100644
--- a/Chart/Lines.pm
+++ b/lib/Chart/Lines.pm
@@ -17,14 +17,14 @@
# lines
#
package Chart::Lines;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Lines::ISA = qw(Chart::Base);
-$Chart::Lines::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/LinesPoints.pm b/lib/Chart/LinesPoints.pm
index b499bbc..2b6df69 100644
--- a/Chart/LinesPoints.pm
+++ b/lib/Chart/LinesPoints.pm
@@ -18,14 +18,14 @@
#
package Chart::LinesPoints;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::LinesPoints::ISA = qw(Chart::Base);
-$Chart::LinesPoints::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/Mountain.pm b/lib/Chart/Mountain.pm
index 81ce397..338f37b 100644
--- a/Chart/Mountain.pm
+++ b/lib/Chart/Mountain.pm
@@ -45,14 +45,14 @@
# of the color and pattern for each dataset.
package Chart::Mountain;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Mountain::ISA = qw ( Chart::Base );
-$Chart::Mountain::VERSION = '2.4.10';
#===================#
# private methods #
diff --git a/Chart/Pareto.pm b/lib/Chart/Pareto.pm
index 36ca4d7..032979f 100644
--- a/Chart/Pareto.pm
+++ b/lib/Chart/Pareto.pm
@@ -11,14 +11,14 @@
# @brief Pareto class derived class for Chart to implement
#
package Chart::Pareto;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Pareto::ISA = qw(Chart::Base);
-$Chart::Pareto::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/Pie.pm b/lib/Chart/Pie.pm
index 1da11e4..15cb441 100644
--- a/Chart/Pie.pm
+++ b/lib/Chart/Pie.pm
@@ -11,15 +11,15 @@
# @brief Pie class derived class for Chart to implement pies
#
package Chart::Pie;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use Chart::Constants;
use strict;
@Chart::Pie::ISA = qw(Chart::Base);
-$Chart::Pie::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/Points.pm b/lib/Chart/Points.pm
index edec582..a8d2784 100644
--- a/Chart/Points.pm
+++ b/lib/Chart/Points.pm
@@ -17,14 +17,14 @@
# points
#
package Chart::Points;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Points::ISA = qw(Chart::Base);
-$Chart::Points::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/Split.pm b/lib/Chart/Split.pm
index 707e910..347f845 100644
--- a/Chart/Split.pm
+++ b/lib/Chart/Split.pm
@@ -14,14 +14,14 @@
# splitted plots
#
package Chart::Split;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::Split::ISA = qw(Chart::Base);
-$Chart::Split::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/Chart/StackedBars.pm b/lib/Chart/StackedBars.pm
index a6c8784..d19043e 100644
--- a/Chart/StackedBars.pm
+++ b/lib/Chart/StackedBars.pm
@@ -16,14 +16,14 @@
# This class provides all functions which are specific to
# stacked bars
package Chart::StackedBars;
+our $VERSION = 2.400.5;
-use Chart::Base '2.4.10';
+use Chart::Base;
use GD;
use Carp;
use strict;
@Chart::StackedBars::ISA = qw(Chart::Base);
-$Chart::StackedBars::VERSION = '2.4.10';
#>>>>>>>>>>>>>>>>>>>>>>>>>>#
# public methods go here #
diff --git a/pm_to_blib b/pm_to_blib
deleted file mode 100644
index e69de29..0000000
--- a/pm_to_blib
+++ /dev/null
diff --git a/t/Humidity.t b/t/Humidity.t
index a40f78c..25ec3ff 100644
--- a/t/Humidity.t
+++ b/t/Humidity.t
@@ -4,6 +4,8 @@
#
#======================================================================
+BEGIN { unshift @INC, 'lib', '../lib'}
+
use strict;
use Chart::Lines;
diff --git a/t/Math_1_over_x.t b/t/Math_1_over_x.t
index 2995cd1..7768c2b 100644
--- a/t/Math_1_over_x.t
+++ b/t/Math_1_over_x.t
@@ -5,6 +5,7 @@
#
#======================================================================
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Lines;
diff --git a/t/bars.t b/t/bars.t
index bd658ec..9aed1bd 100644
--- a/t/bars.t
+++ b/t/bars.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Bars;
print "1..1\n";
diff --git a/t/bars_10.t b/t/bars_10.t
index 6086224..a0ed9da 100644
--- a/t/bars_10.t
+++ b/t/bars_10.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Bars;
print "1..1\n";
diff --git a/t/bars_2.t b/t/bars_2.t
index 0e4c8dd..e8fc6ed 100644
--- a/t/bars_2.t
+++ b/t/bars_2.t
@@ -1,5 +1,7 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
+
use Chart::Bars;
print "1..1\n";
diff --git a/t/bars_3.t b/t/bars_3.t
index 596b741..4c9ecc6 100644
--- a/t/bars_3.t
+++ b/t/bars_3.t
@@ -1,5 +1,8 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
+
+
use Chart::Bars;
print "1..1\n";
$g = Chart::Bars->new( 500, 500 );
diff --git a/t/bars_4.t b/t/bars_4.t
index 36fa25d..a3ffa11 100644
--- a/t/bars_4.t
+++ b/t/bars_4.t
@@ -1,5 +1,7 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
+
# The Integral of the mathematical function 1/x
use strict;
diff --git a/t/bars_5.t b/t/bars_5.t
index 5c4478e..2d33c31 100644
--- a/t/bars_5.t
+++ b/t/bars_5.t
@@ -1,7 +1,8 @@
#!/usr/bin/perl -w
-use Chart::Bars;
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
+use Chart::Bars;
print "1..1\n";
diff --git a/t/bars_6.t b/t/bars_6.t
index 69425af..cd10d3f 100644
--- a/t/bars_6.t
+++ b/t/bars_6.t
@@ -1,7 +1,8 @@
#!/usr/bin/perl -w
-use Chart::Bars;
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
+use Chart::Bars;
print "1..1\n";
diff --git a/t/bars_7.t b/t/bars_7.t
index 874c3e8..4bb4cbf 100644
--- a/t/bars_7.t
+++ b/t/bars_7.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Bars;
use strict;
use POSIX;
diff --git a/t/bars_8.t b/t/bars_8.t
index 4efc8eb..a81ab59 100644
--- a/t/bars_8.t
+++ b/t/bars_8.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Bars;
use strict;
use POSIX;
diff --git a/t/bars_9.t b/t/bars_9.t
index d1c2cfa..f907237 100644
--- a/t/bars_9.t
+++ b/t/bars_9.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Bars;
use strict;
use POSIX;
diff --git a/t/composite.t b/t/composite.t
index a230a34..885ad71 100644
--- a/t/composite.t
+++ b/t/composite.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
print "1..1\n";
diff --git a/t/composite_1.t b/t/composite_1.t
index 2268c9c..7f52840 100644
--- a/t/composite_1.t
+++ b/t/composite_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
print "1..1\n";
diff --git a/t/composite_2.t b/t/composite_2.t
index 9588ca4..59c02d1 100644
--- a/t/composite_2.t
+++ b/t/composite_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Composite;
diff --git a/t/composite_3.t b/t/composite_3.t
index 406152c..f7b5ec1 100644
--- a/t/composite_3.t
+++ b/t/composite_3.t
@@ -1,4 +1,6 @@
#!/usr/bin/perl -w
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Composite; #(type is one of: Points, Lines, Bars, LinesPoints, Composite, StackedBars, Mountain)
diff --git a/t/composite_4.t b/t/composite_4.t
index 5626b1b..b381ded 100644
--- a/t/composite_4.t
+++ b/t/composite_4.t
@@ -1,5 +1,6 @@
#!usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
print "1..1\n";
diff --git a/t/composite_5.t b/t/composite_5.t
index a6502c8..7dbc959 100644
--- a/t/composite_5.t
+++ b/t/composite_5.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
print "1..1\n";
diff --git a/t/composite_6.t b/t/composite_6.t
index 10c35b9..d834341 100644
--- a/t/composite_6.t
+++ b/t/composite_6.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
use strict;
diff --git a/t/composite_7.t b/t/composite_7.t
index fef107c..631c474 100644
--- a/t/composite_7.t
+++ b/t/composite_7.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
use Chart::Lines;
use Chart::Points;
diff --git a/t/composite_8.t b/t/composite_8.t
index 9944ac5..27c4cc2 100644
--- a/t/composite_8.t
+++ b/t/composite_8.t
@@ -4,6 +4,8 @@
# set(xy_plot => 1
# You will the difference in the plots!
#
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
use Chart::Lines;
use Chart::Points;
diff --git a/t/composite_f.t b/t/composite_f.t
index 24f689b..96f7817 100644
--- a/t/composite_f.t
+++ b/t/composite_f.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Composite;
use strict;
diff --git a/t/direction_1.t b/t/direction_1.t
index 9c61885..9f76e2e 100644
--- a/t/direction_1.t
+++ b/t/direction_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Direction;
print "1..1\n";
diff --git a/t/direction_2.t b/t/direction_2.t
index 13bd6ef..5cd828f 100644
--- a/t/direction_2.t
+++ b/t/direction_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Direction;
print "1..1\n";
diff --git a/t/direction_3.t b/t/direction_3.t
index aa1ece0..59f126c 100644
--- a/t/direction_3.t
+++ b/t/direction_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Direction;
print "1..1\n";
diff --git a/t/direction_4.t b/t/direction_4.t
index ee17473..888d35e 100644
--- a/t/direction_4.t
+++ b/t/direction_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Direction;
print "1..1\n";
diff --git a/t/error_1.t b/t/error_1.t
index f8e151a..ad8f3c7 100644
--- a/t/error_1.t
+++ b/t/error_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::ErrorBars;
print "1..1\n";
diff --git a/t/error_2.t b/t/error_2.t
index 1cdbf7c..f8adb27 100644
--- a/t/error_2.t
+++ b/t/error_2.t
@@ -1,5 +1,6 @@
#!usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::ErrorBars;
print "1..1\n";
diff --git a/t/f_ticks.t b/t/f_ticks.t
index 7ad9c71..c7d2ce8 100644
--- a/t/f_ticks.t
+++ b/t/f_ticks.t
@@ -6,6 +6,7 @@
#
#======================================================================
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Points;
diff --git a/t/f_ticks_1.t b/t/f_ticks_1.t
index a4bfde5..931cec3 100644
--- a/t/f_ticks_1.t
+++ b/t/f_ticks_1.t
@@ -4,6 +4,7 @@
#
#======================================================================
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::LinesPoints;
diff --git a/t/hbars_1.t b/t/hbars_1.t
index 9bfadd7..060ce58 100644
--- a/t/hbars_1.t
+++ b/t/hbars_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::HorizontalBars;
print "1..1\n";
diff --git a/t/hbars_2.t b/t/hbars_2.t
index cc04929..0c533d4 100644
--- a/t/hbars_2.t
+++ b/t/hbars_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::HorizontalBars;
print "1..1\n";
diff --git a/t/hbars_3.t b/t/hbars_3.t
index 4bad9df..69eb879 100644
--- a/t/hbars_3.t
+++ b/t/hbars_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::HorizontalBars;
print "1..1\n";
diff --git a/t/hbars_4.t b/t/hbars_4.t
index 6e5c35a..0f5b5cb 100644
--- a/t/hbars_4.t
+++ b/t/hbars_4.t
@@ -1,5 +1,6 @@
#!usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::HorizontalBars;
print "1..1\n";
diff --git a/t/lines.t b/t/lines.t
index bb21b8e..cfd023e 100644
--- a/t/lines.t
+++ b/t/lines.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
print "1..1\n";
diff --git a/t/lines_1.t b/t/lines_1.t
index 57559f4..9caaa5b 100644
--- a/t/lines_1.t
+++ b/t/lines_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_2.t b/t/lines_2.t
index 44b2dc2..6d83a1e 100644
--- a/t/lines_2.t
+++ b/t/lines_2.t
@@ -1,4 +1,6 @@
#!/usr/bin/perl -w
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_3.t b/t/lines_3.t
index b215037..4304224 100644
--- a/t/lines_3.t
+++ b/t/lines_3.t
@@ -1,4 +1,6 @@
#!/usr/bin/perl -w
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_4.t b/t/lines_4.t
index 1b0f833..0724ba8 100644
--- a/t/lines_4.t
+++ b/t/lines_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_5.t b/t/lines_5.t
index 405b012..9c99b88 100644
--- a/t/lines_5.t
+++ b/t/lines_5.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
print "1..1\n";
diff --git a/t/lines_6.t b/t/lines_6.t
index 76f3ece..6a0c749 100644
--- a/t/lines_6.t
+++ b/t/lines_6.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
print "1..1\n";
diff --git a/t/lines_7.t b/t/lines_7.t
index a30c912..5868284 100644
--- a/t/lines_7.t
+++ b/t/lines_7.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_8.t b/t/lines_8.t
index abbaebb..25055c5 100644
--- a/t/lines_8.t
+++ b/t/lines_8.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
my $g;
diff --git a/t/lines_9.t b/t/lines_9.t
index d5d7036..b081e60 100644
--- a/t/lines_9.t
+++ b/t/lines_9.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use Chart::LinesPoints;
use strict;
diff --git a/t/linespoints.t b/t/linespoints.t
index 46d4474..cb83602 100644
--- a/t/linespoints.t
+++ b/t/linespoints.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::LinesPoints;
print "1..1\n";
diff --git a/t/linespoints_1.t b/t/linespoints_1.t
index 561771e..8ee53bc 100644
--- a/t/linespoints_1.t
+++ b/t/linespoints_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::LinesPoints;
print "1..1\n";
diff --git a/t/linespoints_2.t b/t/linespoints_2.t
index c2fa9b2..4e8714c 100644
--- a/t/linespoints_2.t
+++ b/t/linespoints_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::LinesPoints;
use strict;
diff --git a/t/linespoints_3.t b/t/linespoints_3.t
index 364874d..50fcafc 100644
--- a/t/linespoints_3.t
+++ b/t/linespoints_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::LinesPoints;
use strict;
diff --git a/t/linespoints_4.t b/t/linespoints_4.t
index 6c54c75..fac41a6 100644
--- a/t/linespoints_4.t
+++ b/t/linespoints_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::LinesPoints;
diff --git a/t/linespoints_5.t b/t/linespoints_5.t
index 009fa08..665b810 100644
--- a/t/linespoints_5.t
+++ b/t/linespoints_5.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Composite;
diff --git a/t/linespoints_6.t b/t/linespoints_6.t
index b9ff920..548f7b8 100644
--- a/t/linespoints_6.t
+++ b/t/linespoints_6.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::LinesPoints;
use Chart::Lines;
diff --git a/t/linespoints_7.t b/t/linespoints_7.t
index 7d98969..b08ed69 100644
--- a/t/linespoints_7.t
+++ b/t/linespoints_7.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::LinesPoints;
use Chart::Lines;
diff --git a/t/mapbars.t b/t/mapbars.t
index b6c439d..5718bf8 100644
--- a/t/mapbars.t
+++ b/t/mapbars.t
@@ -1,3 +1,5 @@
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Bars;
diff --git a/t/mapcomp.t b/t/mapcomp.t
index 69aaf82..5f69d1e 100644
--- a/t/mapcomp.t
+++ b/t/mapcomp.t
@@ -1,3 +1,4 @@
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::Composite;
diff --git a/t/mountain.t b/t/mountain.t
index 5b6b49a..064635f 100644
--- a/t/mountain.t
+++ b/t/mountain.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Mountain;
use File::Spec;
diff --git a/t/mountain_2.t b/t/mountain_2.t
index 7fcbfe0..d0514c3 100644
--- a/t/mountain_2.t
+++ b/t/mountain_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Mountain;
use File::Spec;
diff --git a/t/mountain_3.t b/t/mountain_3.t
index 529d384..d725755 100644
--- a/t/mountain_3.t
+++ b/t/mountain_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Mountain;
print "1..1\n";
diff --git a/t/mountain_4.t b/t/mountain_4.t
index 893b2d2..a58652c 100644
--- a/t/mountain_4.t
+++ b/t/mountain_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Mountain;
print "1..1\n";
diff --git a/t/pareto_1.t b/t/pareto_1.t
index c3e3dee..0155151 100644
--- a/t/pareto_1.t
+++ b/t/pareto_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pareto;
print "1..1\n";
diff --git a/t/pareto_2.t b/t/pareto_2.t
index 29d93a1..7057d96 100644
--- a/t/pareto_2.t
+++ b/t/pareto_2.t
@@ -1,3 +1,5 @@
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pareto;
print "1..1\n";
diff --git a/t/pareto_3.t b/t/pareto_3.t
index ea7dae4..498cafb 100644
--- a/t/pareto_3.t
+++ b/t/pareto_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pareto;
print "1..1\n";
diff --git a/t/pie_1.t b/t/pie_1.t
index 5d47138..a629307 100644
--- a/t/pie_1.t
+++ b/t/pie_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/pie_10.t b/t/pie_10.t
index aafabe3..9d4055f 100644
--- a/t/pie_10.t
+++ b/t/pie_10.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/pie_11.t b/t/pie_11.t
index 6152466..b637c6b 100644
--- a/t/pie_11.t
+++ b/t/pie_11.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/pie_2.t b/t/pie_2.t
index 6b9f905..fba2c05 100644
--- a/t/pie_2.t
+++ b/t/pie_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
my $g;
diff --git a/t/pie_3.t b/t/pie_3.t
index f7209cf..89bb936 100644
--- a/t/pie_3.t
+++ b/t/pie_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
print "1..1\n";
diff --git a/t/pie_4.t b/t/pie_4.t
index ea8ee59..ec52d5d 100644
--- a/t/pie_4.t
+++ b/t/pie_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use GD;
use strict;
diff --git a/t/pie_5.t b/t/pie_5.t
index 8bd0dc7..f93739a 100644
--- a/t/pie_5.t
+++ b/t/pie_5.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/pie_6.t b/t/pie_6.t
index 1ad958b..f94409e 100644
--- a/t/pie_6.t
+++ b/t/pie_6.t
@@ -1,4 +1,6 @@
#!/usr/bin/perl -w
+
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
print "1..1\n";
diff --git a/t/pie_7.t b/t/pie_7.t
index 7d06d65..1b835e9 100644
--- a/t/pie_7.t
+++ b/t/pie_7.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use GD;
use strict;
diff --git a/t/pie_8.t b/t/pie_8.t
index e547f1a..e898a40 100644
--- a/t/pie_8.t
+++ b/t/pie_8.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/pie_9.t b/t/pie_9.t
index 7165214..84ed527 100644
--- a/t/pie_9.t
+++ b/t/pie_9.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Pie;
use strict;
diff --git a/t/points.t b/t/points.t
index 4b2ebf6..f832b7b 100644
--- a/t/points.t
+++ b/t/points.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
print "1..1\n";
diff --git a/t/points_100.t b/t/points_100.t
index 56eb958..7ee714e 100644
--- a/t/points_100.t
+++ b/t/points_100.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
use strict;
diff --git a/t/points_2.t b/t/points_2.t
index 34446b0..7dcef35 100644
--- a/t/points_2.t
+++ b/t/points_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
print "1..1\n";
diff --git a/t/points_3.t b/t/points_3.t
index b1d1352..000d0f8 100644
--- a/t/points_3.t
+++ b/t/points_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
print "1..1\n";
diff --git a/t/points_4.t b/t/points_4.t
index ee2bfc6..ccda2d2 100644
--- a/t/points_4.t
+++ b/t/points_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
print "1..1\n";
diff --git a/t/points_5.t b/t/points_5.t
index 9dac135..1d7a60b 100644
--- a/t/points_5.t
+++ b/t/points_5.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Points;
print "1..1\n";
diff --git a/t/scalarImage.t b/t/scalarImage.t
index 9ea007e..97dfa57 100644
--- a/t/scalarImage.t
+++ b/t/scalarImage.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Lines;
use strict;
diff --git a/t/split_1.t b/t/split_1.t
index d3234e0..b160f39 100644
--- a/t/split_1.t
+++ b/t/split_1.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Split;
use strict;
print "1..1\n";
diff --git a/t/split_2.t b/t/split_2.t
index 836afa1..eb58de1 100644
--- a/t/split_2.t
+++ b/t/split_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::Split;
print "1..1\n";
diff --git a/t/stackedbars.t b/t/stackedbars.t
index 6bbe70e..43271ef 100644
--- a/t/stackedbars.t
+++ b/t/stackedbars.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::StackedBars;
print "1..1\n";
diff --git a/t/stackedbars_2.t b/t/stackedbars_2.t
index 8334e6f..938fb92 100644
--- a/t/stackedbars_2.t
+++ b/t/stackedbars_2.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::StackedBars;
diff --git a/t/stackedbars_3.t b/t/stackedbars_3.t
index f960b80..06de5e0 100644
--- a/t/stackedbars_3.t
+++ b/t/stackedbars_3.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use strict;
use Chart::StackedBars;
diff --git a/t/stackedbars_4.t b/t/stackedbars_4.t
index fb9a42a..183525d 100644
--- a/t/stackedbars_4.t
+++ b/t/stackedbars_4.t
@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
+BEGIN { unshift @INC, 'lib', '../lib'}
use Chart::StackedBars;
print "1..1\n";