pie Class Reference
Detailed Description
Make a
pie chart and fill it with
pie slices
Member Function Documentation
| add_animation |
( |
$ |
animation |
) |
|
Sugar wrapped around set_colours
| label_colour |
( |
$ |
label_colour |
) |
|
Fix the radius of the pie chart. Take a look at the magic variable radius# for helping figure out what radius to set it to.
- Parameters:
-
- Parameters:
-
| $alpha | as float (0-1) 0.75 = 3/4 visible |
HACK to keep old code working.
| set_colours |
( |
$ |
colours |
) |
|
| set_label_colour |
( |
$ |
label_colour |
) |
|
By default each label is the same colour as the slice, but you can ovveride that behaviour using this method.
- Parameters:
-
| $label_colour | as string HEX colour; |
| set_start_angle |
( |
$ |
angle |
) |
|
- Parameters:
-
| $tip | as string. The tooltip text. May contain magic varibles |
- Parameters:
-
| $v | as array containing one of
|
sugar for set_start_angle
The documentation for this class was generated from the following file: