- Imager::Graph::Horizontal::add_column_data_series() renamed to
[imager-graph.git] / Changes
1 Revision history for Perl extension Imager::Graph.
2
3 Imager-Graph 0.08 - unreleased
4 =================
5
6 Now depends on Imager 0.75.
7
8 More cool changes from Patrick Michaud:
9
10  - Area charts
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.
15
16 Other changes:
17
18  - horizonal_gridlines (vertical charts) and vertical_gridlines
19    (horizontal charts) are now features and can be enabled like other
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
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)
34
35  - for vertical and horizontal charts, allow the fill of the graph
36    area to be controlled separately from the base bg (graph.fill)
37
38  - tests
39
40 Bug fixes:
41
42  - generate y-axis tic-label widths baed on the labels actually used.
43
44  - make draw() idempotent for vertical charts
45
46  - multiple calls to draw() no longer return the same image object
47
48  - labels supplied to draw() are now used for vertical and horizontal
49    charts
50
51 TODO:
52
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
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
76 Imager-Graph 0.07 - 21 May 2009
77 =================
78
79 Lots 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
91 Bug 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
101 Imager-Graph issue
102
103 Imager-Graph 0.06 - 21 April 2008
104 =================
105
106  - Removed ancient Imager cruft from the documentation
107
108  - round the dimensions used within the legend to integers to prevent
109    later truncation from causing uneven output.
110
111  - add horizontal legend boxes
112
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
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
121  - round the pie radius down to avoid running over the edge of the
122    image
123
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
133 Imager-Graph 0.05 - 17 December 2007
134 =================
135
136 This release is an attempt to work around the inconsistent text output
137 issues.
138
139  - created Imager::Font::Test which simply outputs boxes instead of
140    text to produce consistent graph images for comparison.
141
142
143 Imager-Graph 0.04 - 11 December 2007
144 =================
145
146 This is a clean up release, removing code required for ancient
147 releases of Imager, and otherwise modernizing the code.
148
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
165  - various changes for Kwalitee
166
167  - remove fancy_fills check, we now depend on an Imager release that
168    supports fountain fills.
169
170 Imager-Graph 0.02  Sat Oct  6 20:36:31 2001
171 =================
172
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       
177 Imager-Graph 0.01  Tue Sep 12 23:03:25 2001
178 =================
179
180  - original version; created by h2xs 1.19
181  - can draw some nice pie graphs