[rrd-developers] Piecharts

Alex van den Bogaerdt alex at ergens.op.HET.NET
Mon Mar 11 00:16:44 MET 2002


Pie chart support.  Fetch the changes using cvs (or wait for the
snapshot) and give it a try.

Add this to a normal graph script:

    PART:25#FF0000:"A quarter in red"
    PART:25#00000000:"Invisible quarter"
    PART:50#00CC00:"Half in green"

In stead of the numbers you can also use VDEF variables.  For a full
circle the numbers must add up to 100.

NOTE: I could use some help with the algorithm, it can probably be done
much more efficient.  See function graph_paint(), around line 2100.

 / 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