aqui coloco los comentarios que traia por si sirven de algo, ademas del autor
Código:
'this is to be included within a page to draw out pie graphs
'
' Author: Mark Baekdal 23 September 2002
' DrawPieGraph
' Public Properties: Please note that all properties are set defaults when the class is initialized.
' Diameter read/write int
' Diameter is not strictly the diameter of the circle increasing this exponatially increases the
' size of the circle.
'Shadow read/write boolean
' Draws a nice little shadow with your pie.
'Title read/write string
' Set this to title your graph. You can also include html formating if desired. ie: <font size=5>
'ShowLegend read/write boolean
' Set this to false if you don't want to display the legend.
' LegendSize read/write int
' This sets the size of the images used for the legend. Personally I like 10.
' HTMLinnerTableDef read/write string
' Set this to change the display of the graph.
' HTMLouterTableDef read/write string
' Set this to change the display of the graph.
'ShowValues read/write boolean
' Set this to false if you don't want to display the values.
' FormatValuesAsCurrency read/write boolean
' Set this to format the value as n.nn
' FontDef read/write string
' Set this to change the display of the legend characters.
' Public Methods:
' AddValue
' Parameters
'value: the value which will be converted to a percentage of the overall total
' to display a segment of the pie graph.
' label: a title/description of the value.
'color: the color to use for this segment. Must be in hex format ie:#00ffdd etc
' call AddValue for all the different segments that you want to display.
' DeleteAllAddedValues
' Parameters none
' call DeleteAllAddedValues to delete all the values previously added. This is useful if you
'are drawing multiple pie graphs, so you can use the one object to do them all.
' Draw
' Parameters none
' call Draw to draw out the graph.