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