imager-graph.git
12 years agoStart of area graphs
pmichaud [Thu, 5 Nov 2009 08:09:39 +0000 (08:09 +0000)]
Start of area graphs

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

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

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

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

13 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

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

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

13 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

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

13 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:

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

13 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

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

13 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)

13 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

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

13 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

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

13 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

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

data validation fixes

untabify

13 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

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

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

13 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

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

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

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

14 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

14 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

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

14 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

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

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

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

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

14 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

14 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

14 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

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

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

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

14 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

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

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