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