Hashtable
Previous  Next

The PieChart object provides the following methods and properties


Methods

New1(width As Int32, height As Int32) : Creates a new pie chart of the given width and height.

Draw : Returns the drawn bitmap of the chart.

DrawWithLegend(Legend As Control): Returns the drawn bitmap of the chart including the legend provided.

AddSlice(value As Double,  color As Color) : Adds a slice to the Pie chart.
 

Properties

I signifies readable, O signifies settable.


Alignment : Int32 [I/O] : Gets or sets the alignment of the chart in the bitmap. 0 is normal, 1 is flipped, 2 is rotated right and 3 is rotated left. 2 and 3 are only really of use (if ever) when the bitmap is square.

BorderSize : Int32 [I/O] : Gets or sets the width of an invisible border between the drawn chart and the edges of the bitmap.

Color : Color [I/O] :  Gets or sets the background colour of the chart.

ColorGradient : Color [I/O] :  Gets or sets the gradient colour of the chart.

Dllversion : Double [I] : The version number of this library.
  
Text : String [I/O] : Gets or sets the title displayed in the pie chart.