[rrd-developers] Re: Piecharts

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Mar 13 11:58:05 MET 2002


Tobias Oetiker wrote:

> Well adding a new function is ok, but I can not see what problem
> this solves ... what was causing problems for you was most likely
> the fact that I did number the points the wrong way round ... if
> you draw them C B A and then add f e d things should work ...

Could very well be.

> by using the primitive operations I have defined in rrd_gfx and
> bilding on them instead of going into rrd_gfx and adding code there
> would be that the whole graphing engine bit stays small and easy to
> manage ... so at least I would suggest zou use the rrd_gfx
> primitives in the gfx_arc_sect code instead of art_ primitieves ...
> if this is ok with you I will change the code ...

Sure.  Another candidate for improvement is the selection of
the number of points on the circle.  I know the current number
is just enough for full circles yet way too much for smaller
pie parts.

The next step would be adding a grid and labels.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list