slightly improve test coverage of methods
[imager-graph.git] / Changes
CommitLineData
54ada35d 1Revision history for Perl extension Imager::Graph.
35574351 2
56b495c0
TC
3Imager-Graph 0.08 - unreleased
4=================
5
6Now depends on Imager 0.75.
7
8More cool changes from Patrick Michaud:
9
10 - Area charts
86f73dc2
TC
11 https://rt.cpan.org/Ticket/Display.html?id=7
12
13 - Imager::Graph::Horizontal::add_column_data_series() renamed to
14 add_bar_data_series() and now adds the series as a "bar" series.
56b495c0
TC
15
16Other changes:
17
86f73dc2
TC
18 - horizonal_gridlines (vertical charts) and vertical_gridlines
19 (horizontal charts) are now features and can be enabled like other
56b495c0
TC
20 features (or disabled)
21
22 - hoisted the dashed-line drawing into Imager::Graph::_line() and
23 added a _get_line() method to retrieve line style information.
24
25 - features enabled earlier in the style list can now be disabled with
26 a feature "no{stylename}" when features are supplied as an arrayref
27 or scalar. eg. "nograph_outline". If you supply features as a hashref
28 you can disable a feature with:
29 { stylename => 0 }
30
86f73dc2
TC
31 - for vertical and horizontal charts, allow the outline of the graph
32 area (graph_outline) to be disabled (with nograph_outline in
33 features.) or styled (graph.outline)
56b495c0 34
86f73dc2
TC
35 - for vertical and horizontal charts, allow the fill of the graph
36 area to be controlled separately from the base bg (graph.fill)
56b495c0
TC
37
38 - tests
39
40Bug fixes:
41
42 - generate y-axis tic-label widths baed on the labels actually used.
43
44 - make draw() idempotent for vertical charts
45
86f73dc2 46 - multiple calls to draw() no longer return the same image object
56b495c0
TC
47
48 - labels supplied to draw() are now used for vertical and horizontal
49 charts
50
51TODO:
52
56b495c0
TC
53 - control of drawing markers for:
54
55 - area
56
57 - line
58
59 - tic size/positioning
60
61 - gap between tic and labels
62
63 - tests:
64
56b495c0
TC
65 - test idempotent for h
66
67 - document:
68
69 - features: horizontal_gridlines, graph_outline, graph_fill
70
71 - graph outline and gridline styles
72
73 - document no{feature}
74
75
aac2cfef
TC
76Imager-Graph 0.07 - 21 May 2009
77=================
78
79Lots of cool changes from Patrick Michaud:
80
81 - added Bar, Column. StackedColumn and Line charts.
82 https://rt.cpan.org/Ticket/Display.html?id=5 [*]
83
84 - new ocean style
85
86 - new ocean_flat style
87
88 - methods to set chart style attributes, in addition to the style
89 parameters passed to draw().
90
91Bug fixes:
92
93 - missing a font parameter when we have a chart with text no longer
94 results in an exception, but in a false returned and a message in
95 error() as with other errors.
96 https://rt.cpan.org/Ticket/Display.html?id=2872
97
98 - the mono style now disables anti-aliasing by default
99
100[*] this was the oldest open bug on rt.cpan.org, now #7 is, still an
101Imager-Graph issue
102
68a6c9c6 103Imager-Graph 0.06 - 21 April 2008
f2351bc7
TC
104=================
105
106 - Removed ancient Imager cruft from the documentation
107
379c5b02
TC
108 - round the dimensions used within the legend to integers to prevent
109 later truncation from causing uneven output.
110
33a928b7
TC
111 - add horizontal legend boxes
112
7b94e723
TC
113 - add a new style "primary" which is primary_red with a light grey
114 background, and made that the default, so the default graphs aren't
115 quite so ugly.
116
26c93f46
TC
117 - zero-sized segments were drawn as covering the whole pie. Skip
118 drawing zero sized segments.
119 https://rt.cpan.org/Ticket/Display.html?id=34813
120
3c9a5609
TC
121 - round the pie radius down to avoid running over the edge of the
122 image
123
320f5a49
TC
124 - changed the pie maxsegments default to 0.01 from 0.05
125
126 - removed the obsolete pie blur style information
127
128 - documented some of the pie chart specific style settings
129
130 - changed the default drop shadow style to a translucent fill so the
131 background can show through.
132
f041f3f9 133Imager-Graph 0.05 - 17 December 2007
c96fb3d1
TC
134=================
135
136This release is an attempt to work around the inconsistent text output
137issues.
138
139 - created Imager::Font::Test which simply outputs boxes instead of
140 text to produce consistent graph images for comparison.
141
142
4f3ce9fd 143Imager-Graph 0.04 - 11 December 2007
bfcf9414
TC
144=================
145
4f3ce9fd
TC
146This is a clean up release, removing code required for ancient
147releases of Imager, and otherwise modernizing the code.
148
bfcf9414
TC
149 - skip all tests if we can't load the font
150
151 - Save test results to ppm, so we can generate images even if we don't
152 have PNG support in Imager.
153
154 - instead of the old draw-no-aa-then-blur-the-result hack, we now use
155 arc()'s aa option
156
157 - tests now use Test::More
158
159 - remove the old circle fudge hack, since Imager fixed arc fills a
160 while ago
161
162 - strictify Makefile.PL, include the LICENSE, use the correct version
163 check for including the extra WriteMakefile keys
164
54ada35d
TC
165 - various changes for Kwalitee
166
bb0de914
TC
167 - remove fancy_fills check, we now depend on an Imager release that
168 supports fountain fills.
169
bfcf9414
TC
170Imager-Graph 0.02 Sat Oct 6 20:36:31 2001
171=================
172
35574351
TC
173 - replace ImUgly.ttf with a new version where % renders on my older PC
174 - remove some old test code that printed the Imager version
175 - moved into local CVS to simplify cross-platform tests
176
bfcf9414
TC
177Imager-Graph 0.01 Tue Sep 12 23:03:25 2001
178=================
179
35574351
TC
180 - original version; created by h2xs 1.19
181 - can draw some nice pie graphs