Below is a complete list of all options that can be set on Pie objects. Not all options are explained, but the names are fairly self-explanatory. In time, the descriptions in this table will become more complete.
See the Type Legend table at the bottom of this page for an explanation of the various data types.
| Option | Type | Description |
| bg_color | COLOR | |
| bg_image | STRING | |
| edge_color | COLOR | |
| explode | INT_A | An array that specifies which slices of the pie to "explode", and by how much. See the Pie Chart chapter for an example of use. |
| generate_img | BOOL | |
| image_type | INT | |
| jpeg_quality | INT | |
| label_dist | INT | |
| label_font | STRING | |
| label_font_size | FONTSIZE | |
| label_line | BOOL | |
| label_ptsize | FLOAT | |
| line_color | COLOR | |
| missing | BOOL_A | If an element is true, the corresponding "slice" of the pie will be missing. |
| other_threshold | CHAR | |
| percent_format | STRING | |
| percent_labels | INT | |
| perspective | USHORT | |
| color | COLOR_A | A list of color entries. Each entry specifies the color for the corresponding slice of the pie. |
| plot_color | COLOR | |
| threeD_angle | USHORT | |
| threeD_depth | USHORT | |
| title | STRING | The title at the top of the chart. |
| title_font | STRING | |
| title_font_size | FONTSIZE | |
| title_ptsize | FLOAT |
| Type* | Description |
| BOOL | True if the value passed evaluates to true (ie. "if a: print 1" prints 1). |
| BOOL_A | An array of BOOL values. |
| COLOR | Values can be specified as a descriptive name (i.e. "blue"), as an integer (i.e. 0xFF0000), or as an RGB object (i.e. RGB(0xFF, 0x00, 0x00)). |
| COLOR_A | An array of COLOR values. |
| FLOAT | A floating point value. |
| FONTSIZE | One of "TINY", "SMALL", "MEDBOLD", "LARGE", "GIANT". |
| INT | An integer. |
| INT_A | An array of integers. |
| PERCENT | An integer x, such that 0 <= x <= 100. |
| STRING | A string. |
| UCHAR | An unsigned char. That is, a small positive integer. |
* Note that types are NOT enforced by type check - that means that you don't have to pass a Python integer to an integer option: an object with an __int__ method will do. Same goes for string options and objects with a __str__ or __repr__ method, etc.
| <--previous | contents | next--> | (12/31/03) |