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