Свойство | Type | Description | |
---|---|---|---|
$calc_done | |||
$radius_x | |||
$radius_y | |||
$s_angle | |||
$slice_styles | |||
$x_centre | for internal use | ||
$y_centre |
Méthode | Description | |
---|---|---|
Draw ( ) | Draws the pie graph | |
svggpsort ( $a, $b ) | Sort callback function reverse-sorts by value |
Méthode | Description | |
---|---|---|
Calc ( ) | Calculates position of pie | |
CalcSlice ( $angle_start, $angle_end, &$x_start, &$y_start, &$x_end, &$y_end ) | ||
CheckValues ( &$values ) | Checks that the data are valid | |
DrawLegendEntry ( $set, $x, $y, $w, $h ) | Return box for legend | |
GetSlice ( $angle_start, $angle_end, &$attr ) | Returns a single slice of pie |
protected CalcSlice ( $angle_start, $angle_end, &$x_start, &$y_start, &$x_end, &$y_end ) |
protected DrawLegendEntry ( $set, $x, $y, $w, $h ) |
protected GetSlice ( $angle_start, $angle_end, &$attr ) |
public static svggpsort ( $a, $b ) |