linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awPie

Source Location: /class/system/artichow/php4/Pie.class.php

Class Overview

awComponent
   |
   --awPie

Pie


Variables

Methods



Class Details

[line 27]
Pie



[ Top ]


Class Variables

$angle =  0

[line 105]

Initial angle


Type:   int


[ Top ]

$border =

[line 91]

Border color


Type:   Color


[ Top ]

$colors =

[line 70]

Pie colors


Type:   array


[ Top ]

$explode = array()

[line 98]

Pie explode


Type:   array


[ Top ]

$label =

[line 140]

Labels of your pie


Type:   Label


[ Top ]

$legendValues = array()

[line 77]

Pie legend


Type:   array


[ Top ]

$minimum =

[line 126]

Labels minimum


Type:   int


[ Top ]

$number =

[line 119]

Labels number


Type:   int


[ Top ]

$position =  15

[line 133]

Labels position


Type:   int


[ Top ]

$precision =

[line 112]

Labels precision


Type:   int


[ Top ]

$size =

[line 84]

Intensity of the 3D effect


Type:   int


[ Top ]

$values =

[line 63]

Pie values


Type:   array


[ Top ]



Class Methods


constructor awPie [line 147]

awPie awPie( array $values, [ $colors = PIE_COLORED])

Build the plot



Parameters:

array   $values   Pie values
   $colors  

[ Top ]

method checkArray [line 609]

void checkArray( &$array)



Parameters:

   &$array  

[ Top ]

method drawComponent [line 318]

void drawComponent( $driver, $x1, $y1, $x2, $y2, $aliasing)



Parameters:

   $driver  
   $x1  
   $y1  
   $x2  
   $y2  
   $aliasing  

[ Top ]

method drawEnvelope [line 314]

void drawEnvelope( $driver)



Parameters:

   $driver  

[ Top ]

method explode [line 310]

void explode( array $explode)

Change Pie explode



Parameters:

array   $explode  

[ Top ]

method getMargin [line 572]

array getMargin( )

Return margins around the component



Tags:

return:  Left, right, top and bottom margins


[ Top ]

method getValues [line 605]

array getValues( )

Return values of Y axis



[ Top ]

method set3D [line 256]

void set3D( int $size)

Change 3D effect intensity



Parameters:

int   $size   Effect size

[ Top ]

method setBorder [line 243]

void setBorder( $color $color)

Set a border all around the pie



Parameters:

$color   $color   A color for the border

[ Top ]

method setBorderColor [line 234]

void setBorderColor( $color $color)

Set a border all around the pie



Parameters:

$color   $color   A color for the border

[ Top ]

method setLabelMinimum [line 301]

void setLabelMinimum( int $minimum)

Change label minimum



Parameters:

int   $minimum   New minimum

[ Top ]

method setLabelNumber [line 292]

void setLabelNumber( int $number)

Change label number



Parameters:

int   $number   New number

[ Top ]

method setLabelPosition [line 283]

void setLabelPosition( int $position)

Change label position



Parameters:

int   $position   New position in pixels

[ Top ]

method setLabelPrecision [line 274]

void setLabelPrecision( int $precision)

Change label precision



Parameters:

int   $precision   New precision

[ Top ]

method setLegend [line 223]

void setLegend( array $legend)

Change legend values



Parameters:

array   $legend   An array of values for each part of the pie

[ Top ]

method setStartAngle [line 265]

void setStartAngle( int $angle)

Change initial angle



Parameters:

int   $angle   New angle in degrees

[ Top ]

method setValues [line 592]

void setValues( array $values)

Change values of Y axis This method ignores not numeric values



Parameters:

array   $values  

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:54:00 +0100 by phpDocumentor 1.4.1