| packageless

# Class: PiePlot Source Location: /lib/JpGraph/jpgraph_pie.php
### Class Overview
| ### Variables $color $csimalts $csimareas $csimtargets $data $explode_all $explode_r $explode_radius $font_color $font_family $font_size $font_style $labelformat $labels $labeltype $legends $legend_margin $pie_border $pie_interior_border $posx $posy $radius $setslicecolors $show_labels $startangle $theme $themearr $title $value $weight | ### Methods PiePlot AddSliceToCSIM Explode ExplodeAll ExplodeSlice GetCSIMareas Legend SetCenter SetColor SetCSIMTargets SetFont SetFontColor SetLabelType SetLegends SetPrecision SetSize SetSliceColors SetStartAngle SetTheme SetValueType ShowBorder Stroke StrokeLabels
### Child classes: PiePlot3D | ### Inherited Variables | ### Inherited Methods
### Class Details [line 24] [ Top ] ### Class Variables #### $color = "black" [line 35]
Type: | mixed
[ Top ] #### $csimalts = null [line 31]
Type: | mixed
[ Top ] #### $csimareas = '' [line 30]
Type: | mixed
[ Top ] #### $csimtargets = null [line 29]
Type: | mixed
[ Top ] #### $data = null [line 32]
Type: | mixed
[ Top ] #### $explode_all = [line 27]
Type: | mixed
[ Top ] #### $explode_r = [line 27]
Type: | mixed
[ Top ] #### $explode_radius = array() [line 27]
Type: | mixed
[ Top ] #### $font_color = "black" [line 36]
Type: | mixed
[ Top ] #### $font_family = FF_FONT1 [line 36]
Type: | mixed
[ Top ] #### $font_size = 12 [line 36]
Type: | mixed
[ Top ] #### $font_style = FS_NORMAL [line 36]
Type: | mixed
[ Top ] #### $labelformat = "%01.0f" [line 45]
Type: | mixed
[ Top ] #### $labels = [line 28]
Type: | mixed
[ Top ] #### $labeltype = 0 [line 46]
Type: | mixed
[ Top ] #### $legends = null [line 28]
Type: | mixed
[ Top ] #### $legend_margin = 6 [line 37]
Type: | mixed
[ Top ] #### $pie_border = true [line 47]
Type: | mixed
[ Top ] #### $pie_interior_border = true [line 47]
Type: | mixed
[ Top ] #### $posx = 0.5 [line 25]
Type: | mixed
[ Top ] #### $posy = 0.5 [line 25]
Type: | mixed
[ Top ] #### $radius = 0.3 [line 26]
Type: | mixed
[ Top ] #### $setslicecolors = array() [line 44]
Type: | mixed
[ Top ] #### $show_labels = true [line 37]
Type: | mixed
[ Top ] #### $startangle = 0 [line 34]
Type: | mixed
[ Top ] #### $theme = "earth" [line 43]
Type: | mixed
[ Top ] #### $themearr = array( "earth" => array(10,34,40,45,46,62,63,134,74,77,120,136,141,168,180,209,218,346,395,89,430),"pastel"=>array(27,38,42,59,66,79,105,110,128,147,152,230,236,240,331,337,405,415),"water"=>array(8,370,10,40,335,56,213,237,268,14,326,387,24,388),"sand"=>array(27,168,34,170,19,50,65,72,131,209,46,393)) [line 38]
Type: | mixed
[ Top ] #### $title = [line 33]
Type: | mixed
[ Top ] #### $value = [line 48]
Type: | mixed
[ Top ] #### $weight = 1 [line 35]
Type: | mixed
[ Top ] ### Class Methods ### constructor PiePlot [line 52]
`PiePlot PiePlot( mixed &$data)`
[ Top ] ### method AddSliceToCSIM [line 79]
`void AddSliceToCSIM( mixed $i, mixed $xc, mixed $yc, mixed $radius, mixed $sa, mixed $ea)`
Overridden in child classes as: PiePlot3D::AddSliceToCSIM() [ Top ] ### method Explode [line 140]
`void Explode( mixed $radarr)`
[ Top ] ### method ExplodeAll [line 132]
`void ExplodeAll( [mixed $radius = -1])`
[ Top ] ### method ExplodeSlice [line 128]
`void ExplodeSlice( mixed $e, [mixed $radius = 20])`
[ Top ] ### method GetCSIMareas [line 75]
`void GetCSIMareas( )`
[ Top ] ### method Legend [line 197]
`void Legend( mixed &$graph)`
[ Top ] ### method SetCenter [line 61]
`void SetCenter( mixed $x, [mixed $y = 0.5])`
[ Top ] ### method SetColor [line 66]
`void SetColor( mixed $aColor)`
[ Top ] ### method SetCSIMTargets [line 70]
`void SetCSIMTargets( mixed &$targets, [mixed $alts = null])`
[ Top ] ### method SetFont [line 155]
`void SetFont( mixed $family, [mixed $style = FS_NORMAL], [mixed $size = 10])`
[ Top ] ### method SetFontColor [line 169]
`void SetFontColor( mixed $color)`
[ Top ] ### method SetLabelType [line 179]
`void SetLabelType( mixed $t)`
[ Top ] ### method SetLegends [line 174]
`void SetLegends( mixed $l)`
[ Top ] ### method SetPrecision [line 239]
`void SetPrecision( mixed $p, [mixed $psign = true])`
[ Top ] ### method SetSize [line 162]
`void SetSize( mixed $size)`
[ Top ] ### method SetSliceColors [line 147]
`void SetSliceColors( mixed $c)`
[ Top ] ### method SetStartAngle [line 151]
`void SetStartAngle( mixed $a)`
[ Top ] ### method SetTheme [line 121]
`void SetTheme( mixed $t)`
[ Top ] ### method SetValueType [line 185]
`void SetValueType( mixed $t)`
[ Top ] ### method ShowBorder [line 191]
`void ShowBorder( [mixed $exterior = true], [mixed $interior = true])`
[ Top ] ### method Stroke [line 243]
`void Stroke( mixed &$img)`
Overridden in child classes as: PiePlot3D::Stroke() [ Top ] ### method StrokeLabels [line 337]
`void StrokeLabels( mixed $label, mixed $img, mixed $xc, mixed $yc, mixed $a, mixed $r)`
Overridden in child classes as: PiePlot3D::StrokeLabels() [ Top ] Documentation generated on Mon, 29 Dec 2003 21:15:18 +0100 by phpDocumentor 1.2.3