]> git.imager.perl.org - imager-graph.git/log
imager-graph.git
13 years agoslightly improve test coverage of methods
Tony Cook [Fri, 23 Jul 2010 14:28:02 +0000 (14:28 +0000)]
slightly improve test coverage of methods

13 years ago - Imager::Graph::Horizontal::add_column_data_series() renamed to
Tony Cook [Sat, 17 Jul 2010 10:29:31 +0000 (10:29 +0000)]
 - Imager::Graph::Horizontal::add_column_data_series() renamed to
   add_bar_data_series() and now adds the series as a "bar" series.

(unpackaged) tests for horizontal chart styling

label handling for horizontal charts

add _feature_enabled() method

13 years agoremove more test generated files
Tony Cook [Sun, 11 Jul 2010 13:14:37 +0000 (13:14 +0000)]
remove more test generated files

13 years agoin progress changes:
Tony Cook [Sun, 11 Jul 2010 12:03:47 +0000 (12:03 +0000)]
in progress changes:

- vertical graph gridline control and styling

- vertical graph fill styling

- vertical graph outline control and styling

- no{feature} in arrayref/scalar features

- hoist line styling up

- labels in parameters for vertical graphs

- vertical gridline control and styling

- area chart integration

13 years agoupdate test images for the axis label fix
Tony Cook [Sat, 10 Jul 2010 02:33:29 +0000 (02:33 +0000)]
update test images for the axis label fix

13 years agocalculate the y-axis tic-label widths based on the labels actually used
Tony Cook [Mon, 5 Jul 2010 11:14:47 +0000 (11:14 +0000)]
calculate the y-axis tic-label widths based on the labels actually used

13 years agoremove code for older (ancient) versions of Imager
Tony Cook [Mon, 5 Jul 2010 11:03:11 +0000 (11:03 +0000)]
remove code for older (ancient) versions of Imager

13 years agoallow the outline and background of the graph data area to be
Tony Cook [Mon, 5 Jul 2010 10:58:21 +0000 (10:58 +0000)]
allow the outline and background of the graph data area to be
independently controlled

fix a variable name

13 years agointergrate Patrick's area chart work in progress
pmichaud [Mon, 5 Jul 2010 09:38:34 +0000 (09:38 +0000)]
intergrate Patrick's area chart work in progress

13 years agoadd missing manifest files
Tony Cook [Sat, 19 Jun 2010 04:53:15 +0000 (04:53 +0000)]
add missing manifest files

13 years agomatch the format of other test file names
Tony Cook [Sat, 19 Jun 2010 04:51:54 +0000 (04:51 +0000)]
match the format of other test file names

13 years agoChanges the area drawing, so it still uses the full width if there are columns. ...
pmichaud [Thu, 5 Nov 2009 23:38:58 +0000 (23:38 +0000)]
Changes the area drawing, so it still uses the full width if there are columns.  For lines it made more sense to center them in the columns, for areas that just looks weird.

13 years agoStart of area graphs
pmichaud [Thu, 5 Nov 2009 08:09:39 +0000 (08:09 +0000)]
Start of area graphs

13 years agoAdds two tests for horizontal graphs, and fixes some warnings exposed by them
pmichaud [Thu, 5 Nov 2009 02:02:11 +0000 (02:02 +0000)]
Adds two tests for horizontal graphs, and fixes some warnings exposed by them

13 years agoFixes horizontal line graphs
pmichaud [Thu, 5 Nov 2009 01:48:57 +0000 (01:48 +0000)]
Fixes horizontal line graphs

13 years agoFixes horizontal bar graphs with a large number of points. Updates the corresponding...
pmichaud [Thu, 5 Nov 2009 01:21:41 +0000 (01:21 +0000)]
Fixes horizontal bar graphs with a large number of points.  Updates the corresponding test

13 years agoFixes vertical graphs w/ large numbers of columns.
pmichaud [Thu, 5 Nov 2009 00:51:46 +0000 (00:51 +0000)]
Fixes vertical graphs w/ large numbers of columns.

13 years agofix the test count for t14bar.t and relax the image comparisons a bit
Tony Cook [Tue, 3 Nov 2009 11:21:54 +0000 (11:21 +0000)]
fix the test count for t14bar.t and relax the image comparisons a bit

13 years agoUpdates the MANIFEST
pmichaud [Tue, 3 Nov 2009 02:57:49 +0000 (02:57 +0000)]
Updates the MANIFEST

13 years ago* changed t31tic_color.t to check against different images based on the presence...
pmichaud [Tue, 3 Nov 2009 02:53:52 +0000 (02:53 +0000)]
* changed t31tic_color.t to check against different images based on the presence of Chart::Math::Axis
* changed t31tic_color.t to have the same number of points and labels
* fixes labels hanging off the edge of the graph, for horizontal or vertical graphs
* adds pod to the vertical and horizontal subclasses
* a test for bar graphs
* a test for long labels
* fixes x axis on bar graphs if Chart::Math::Axis isn't installed

13 years agofix manifest, svn ignores
Tony Cook [Tue, 3 Nov 2009 00:48:25 +0000 (00:48 +0000)]
fix manifest, svn ignores

13 years agomore graph updates from Patrick Michaud
pmichaud [Mon, 2 Nov 2009 09:46:26 +0000 (09:46 +0000)]
more graph updates from Patrick Michaud

14 years ago0.07 release v0.07
Tony Cook [Thu, 21 May 2009 07:33:53 +0000 (07:33 +0000)]
0.07 release

14 years agofix manifest
Tony Cook [Thu, 21 May 2009 07:27:43 +0000 (07:27 +0000)]
fix manifest

14 years agoFrom Patrick Michaud:
pmichaud [Thu, 21 May 2009 07:18:44 +0000 (07:18 +0000)]
From Patrick Michaud:

This one makes it so bars and columns use the fill
styles instead of the flat colors.  It also improves the light color in
the ocean style, and adds an ocean_flat style.

14 years agofix silly documentation error
Tony Cook [Thu, 30 Apr 2009 14:15:13 +0000 (14:15 +0000)]
fix silly documentation error

14 years agoset font filename to the file we actually ship
Tony Cook [Thu, 30 Apr 2009 14:14:36 +0000 (14:14 +0000)]
set font filename to the file we actually ship

14 years agoPatrick Michaud:
pmichaud [Thu, 23 Apr 2009 23:21:28 +0000 (23:21 +0000)]
Patrick Michaud:

Alright, bar graphs are working.  I think I got most of the features that
column graphs support.

14 years agoPatrick Michaud:
pmichaud [Thu, 23 Apr 2009 06:19:13 +0000 (06:19 +0000)]
Patrick Michaud:

This diff makes it so padding between columns can be specified.  Takes a
percent of the column width.

14 years agoFrom: Patrick Michaud <pmichaud@u.washington.edu>
pmichaud [Tue, 21 Apr 2009 09:43:21 +0000 (09:43 +0000)]
From: Patrick Michaud <pmichaud@u.washington.edu>

One more diff for you - I noticed that without a title, my y-tics were
partly off screen.  This addresses that, in an admittedly somewhat crude
way:  http://vegitron.eplt.washington.edu/tmp/y_tops.diff

14 years agoPatch from Patrick Michaud:
pmichaud [Fri, 17 Apr 2009 00:45:19 +0000 (00:45 +0000)]
Patch from Patrick Michaud:

use error mechanism instead of die if Chart::Math::Axis isn't available.

14 years agoFrom Patrick Michaud:
pmichaud [Fri, 17 Apr 2009 00:04:43 +0000 (00:04 +0000)]
From Patrick Michaud:

Here you go - tests for warnings, and a fix:

14 years agoPatches from Patrick Michaud:
pmichaud [Thu, 16 Apr 2009 23:36:09 +0000 (23:36 +0000)]
Patches from Patrick Michaud:

Ok, I've fixed the y-tic error - that was an embarrassing display of math
:(  I'm gonna work on the size issue now, and if I still have time, work
on using Chart::Math::Axis.

ok, i implemented autoscaling of the graph area, and removed a bunch of
cruft around graph size.

Ok, that auto-y-scaling is pretty nice.  Here's a diff that uses it, if
someone calls use_automatic_axis(), or if automatic_axis => 1 is in the
style.  Next I'm going to get some horizontal grid-lines going.

I added somewhat cheesy gridlines.  Since there aren't line styles, I just
manually dashed the line.  Right now it's hard coded to black - I felt odd
about letting the color be styled, when the fundamental style can't be
changed.

14 years agodefine new style settings text.aa, lineaa and fill.aa each based on
Tony Cook [Tue, 14 Apr 2009 09:18:55 +0000 (09:18 +0000)]
define new style settings text.aa, lineaa and fill.aa each based on
the top level "aa" style.  Each text style depends on text.aa, each
line style depends on lineaa.

add _line_style() to populate a hash similar in concept to that used
by by _text_style(), so we can easily support pens and thick lines
from future Imager

14 years agoline markers for line graphs
Tony Cook [Tue, 14 Apr 2009 04:13:53 +0000 (04:13 +0000)]
line markers for line graphs

14 years agoallow the user to specifiy min and max y values instead of a padding
Tony Cook [Mon, 13 Apr 2009 23:53:19 +0000 (23:53 +0000)]
allow the user to specifiy min and max y values instead of a padding
percentage (Patrick Michaud)

14 years agoremove spurious write to /var/www/tmp
Tony Cook [Mon, 13 Apr 2009 22:50:16 +0000 (22:50 +0000)]
remove spurious write to /var/www/tmp

14 years agochanges from Patrick + manifest update
pmichaud [Mon, 13 Apr 2009 22:46:29 +0000 (22:46 +0000)]
changes from Patrick + manifest update

14 years agofix data, labels, style draw() option handling to not set state in the
Tony Cook [Mon, 13 Apr 2009 01:42:58 +0000 (01:42 +0000)]
fix data, labels, style draw() option handling to not set state in the
chart object

handle undef values introduced into $opts in _style_setup by the new
style accessors

14 years agoupdate manifest
Tony Cook [Mon, 23 Mar 2009 00:22:07 +0000 (00:22 +0000)]
update manifest

14 years agochanges from Patrick Michaud, line, bar, stacked column graphs
pmichaud [Sun, 22 Mar 2009 23:41:13 +0000 (23:41 +0000)]
changes from Patrick Michaud, line, bar, stacked column graphs

14 years agofont handling fixes
Tony Cook [Mon, 16 Mar 2009 09:54:50 +0000 (09:54 +0000)]
font handling fixes

data validation fixes

untabify

14 years agoremove 5.005 inappropriate use warnings
Tony Cook [Mon, 16 Mar 2009 08:43:41 +0000 (08:43 +0000)]
remove 5.005 inappropriate use warnings

14 years agoa litte more internals documentation
Tony Cook [Mon, 16 Mar 2009 08:33:19 +0000 (08:33 +0000)]
a litte more internals documentation

14 years agoreturn missing font errors in from the error method, add tests for the
Tony Cook [Mon, 16 Mar 2009 08:22:51 +0000 (08:22 +0000)]
return missing font errors in from the error method, add tests for the
various fonts we look for.

14 years agoupdate test images to match the change in default style
Tony Cook [Fri, 13 Mar 2009 03:37:31 +0000 (03:37 +0000)]
update test images to match the change in default style

14 years agopatches from Patrick Michaud
pmichaud [Fri, 13 Mar 2009 03:35:33 +0000 (03:35 +0000)]
patches from Patrick Michaud

15 years ago0.06 release v0.06
Tony Cook [Mon, 21 Apr 2008 09:04:25 +0000 (09:04 +0000)]
0.06 release

15 years ago - round the pie radius down to avoid running over the edge of the
Tony Cook [Mon, 21 Apr 2008 08:57:27 +0000 (08:57 +0000)]
 - round the pie radius down to avoid running over the edge of the
   image

 - changed the pie maxsegments default to 0.01 from 0.05

 - removed the obsolete pie blur style information

 - documented some of the pie chart specific style settings

 - changed the default drop shadow style to a translucent fill so the
   background can show through.

15 years ago - round the pie radius down to avoid running over the edge of the
Tony Cook [Mon, 21 Apr 2008 08:29:13 +0000 (08:29 +0000)]
 - round the pie radius down to avoid running over the edge of the
   image

15 years ago - zero-sized segments were drawn as covering the whole pie. Skip
Tony Cook [Mon, 21 Apr 2008 08:18:27 +0000 (08:18 +0000)]
 - zero-sized segments were drawn as covering the whole pie.  Skip
   drawing zero sized segments.
   https://rt.cpan.org/Ticket/Display.html?id=34813

15 years ago - add a new style "primary" which is primary_red with a light grey
Tony Cook [Mon, 21 Apr 2008 06:39:54 +0000 (06:39 +0000)]
 - add a new style "primary" which is primary_red with a light grey
   background, and made that the default, so the default graphs aren't
   quite so ugly.

15 years ago - add horizontal legend boxes
Tony Cook [Mon, 21 Apr 2008 06:21:36 +0000 (06:21 +0000)]
 - add horizontal legend boxes

make the legend outside padding an integer

update test images to match

15 years ago - round the dimensions used within the legend to integers to prevent
Tony Cook [Mon, 21 Jan 2008 10:57:37 +0000 (10:57 +0000)]
 - round the dimensions used within the legend to integers to prevent
   later truncation from causing uneven output.

15 years agoremove more ancient Imager cruft
Tony Cook [Mon, 17 Dec 2007 23:50:36 +0000 (23:50 +0000)]
remove more ancient Imager cruft

15 years ago0.05 release v0.05
Tony Cook [Mon, 17 Dec 2007 08:20:20 +0000 (08:20 +0000)]
0.05 release

15 years agoupdate MANIFEST, Changes
Tony Cook [Mon, 17 Dec 2007 08:16:08 +0000 (08:16 +0000)]
update MANIFEST, Changes

15 years agocreate the test font driver, use it, and update the test comparison
Tony Cook [Mon, 17 Dec 2007 08:08:11 +0000 (08:08 +0000)]
create the test font driver, use it, and update the test comparison
images

15 years agocopyrights, we depend on more recent Imager now
Tony Cook [Mon, 17 Dec 2007 07:14:11 +0000 (07:14 +0000)]
copyrights, we depend on more recent Imager now

15 years agoforce FT2 usage, hopefully for better text consistency
Tony Cook [Wed, 12 Dec 2007 23:43:51 +0000 (23:43 +0000)]
force FT2 usage, hopefully for better text consistency

15 years ago0.04 release v0.04
Tony Cook [Tue, 11 Dec 2007 10:31:38 +0000 (10:31 +0000)]
0.04 release

15 years ago - remove fancy_fills check, we now depend on an Imager release that
Tony Cook [Tue, 11 Dec 2007 10:28:54 +0000 (10:28 +0000)]
 - remove fancy_fills check, we now depend on an Imager release that
   supports fountain fills.

15 years agovarious Kwalitee changes
Tony Cook [Tue, 11 Dec 2007 10:23:38 +0000 (10:23 +0000)]
various Kwalitee changes

15 years ago - skip all tests if we can't load the font
Tony Cook [Tue, 11 Dec 2007 09:36:22 +0000 (09:36 +0000)]
 - skip all tests if we can't load the font

 - Save test results to ppm, so we can generate images even if we don't
   have PNG support in Imager.

 - instead of the old draw-no-aa-then-blur-the-result hack, we now use
   arc()'s aa option

 - tests now use Test::More

 - remove the old circle fudge hack, since Imager fixed arc fills a
   while ago

 - strictify Makefile.PL, include the LICENSE, use the correct version
   check for including the extra WriteMakefile keys

15 years agoImager::Graph 0.03 v0.03
Tony Cook [Tue, 11 Dec 2007 08:40:41 +0000 (08:40 +0000)]
Imager::Graph 0.03

Imager::Graph doesn't have such a huge history that it's worth messing
around to bring the full history over.

15 years agosomewhere to keep Imager-Graph
Tony Cook [Tue, 11 Dec 2007 08:38:10 +0000 (08:38 +0000)]
somewhere to keep Imager-Graph