update test images to match the change in default style
[imager-graph.git] / TODO
CommitLineData
35574351
TC
1=head1 NAME
2
3 TODO - other things to be done for Imager::Graph
4
5=head1 DESCRIPTION
6
7=over
8
9=item *
10
11other graph types
12
13=item *
14
15better scaling support in the default styles
16
17=item *
18
19some sort of support for handling rounding issues nicely, eg. if the
20user supplies 3 equal values then the percentages shown all be "33%"
21which doesn't add up to 100%. I'm not sure what can be done about
22that though.
23
24=item *
25
26better space management - the current blocking system is a bit crude
27(low priority). This would probably require some iterative method of
28checking for overlaps for different graph elements rather than
29blocking down to a box.
30
31=item *
32
33shortcuts for fountain fill segments, ie. instead of having to call:
34
35 Imager::Fountain->simple(positions=>[0, 1],
36 colors=>[ NC('000000'), NC('FFFFF') ])
37
38allow the entry to contain:
39
40 segments=>[ '000000', 'FFFFFF' ]
41
42or even more colors, and provide positions equally spaced from 0 to 1.
43
44=item *
45
46popped out segments (pie charts)
47
48=item *
49
50backgrounds for pie labels
51
52=item *
53
54backgrounds for pie callouts
55
56=item *
57
58break up Imager::Graph::Pie::draw() - too big
59
60=item *
61
62implement label.hpad and label.vpad
63
64=item *
65
66some way to get to the layout of the data, eg. so the user can build
67an image map, or possibly an image map generator.
68
69=item *
70
71handle small segments in the pie by making the leaders non-radial
72
73=item *
74
75move more construction to the constructor
76
77=back
78
79=cut