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

Class: awPie

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

Class Overview

awComponent
   |
   --awPie

Pie


Variables

Constants

Methods



Class Details

[line 27]
Pie



[ Top ]


Class Variables

$angle =  0

[line 105]

Initial angle



Tags:

access:  protected

Type:   int


[ Top ]

$border =

[line 91]

Border color



Tags:

access:  protected

Type:   Color


[ Top ]

$colors =

[line 70]

Pie colors



Tags:

access:  protected

Type:   array


[ Top ]

$explode = array()

[line 98]

Pie explode



Tags:

access:  protected

Type:   array


[ Top ]

$label =

[line 140]

Labels of your pie



Tags:

access:  public

Type:   Label


[ Top ]

$legendValues = array()

[line 77]

Pie legend



Tags:

access:  protected

Type:   array


[ Top ]

$minimum =

[line 126]

Labels minimum



Tags:

access:  protected

Type:   int


[ Top ]

$number =

[line 119]

Labels number



Tags:

access:  protected

Type:   int


[ Top ]

$position =  15

[line 133]

Labels position



Tags:

access:  protected

Type:   int


[ Top ]

$precision =

[line 112]

Labels precision



Tags:

access:  protected

Type:   int


[ Top ]

$size =

[line 84]

Intensity of the 3D effect



Tags:

access:  protected

Type:   int


[ Top ]

$values =

[line 63]

Pie values



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


constructor __construct [line 147]

awPie __construct( array $values, [ $colors = awPie::COLORED])

Build the plot



Tags:

access:  public


Parameters:

array   $values   Pie values
   $colors  

[ Top ]

method drawComponent [line 318]

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



Tags:

access:  public


Parameters:

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

[ Top ]

method drawEnvelope [line 314]

void drawEnvelope( awDriver $driver)



Tags:

access:  public


Parameters:

awDriver   $driver  

[ Top ]

method explode [line 310]

void explode( array $explode)

Change Pie explode



Tags:

access:  public


Parameters:

array   $explode  

[ Top ]

method getMargin [line 572]

array getMargin( )

Return margins around the component



Tags:

return:  Left, right, top and bottom margins
access:  public


[ Top ]

method getValues [line 605]

array getValues( )

Return values of Y axis



Tags:

access:  public


[ Top ]

method set3D [line 256]

void set3D( int $size)

Change 3D effect intensity



Tags:

access:  public


Parameters:

int   $size   Effect size

[ Top ]

method setBorder [line 243]

void setBorder( awColor $color)

Set a border all around the pie



Tags:

access:  public


Parameters:

awColor   $color   A color for the border

[ Top ]

method setBorderColor [line 234]

void setBorderColor( awColor $color)

Set a border all around the pie



Tags:

access:  public


Parameters:

awColor   $color   A color for the border

[ Top ]

method setLabelMinimum [line 301]

void setLabelMinimum( int $minimum)

Change label minimum



Tags:

access:  public


Parameters:

int   $minimum   New minimum

[ Top ]

method setLabelNumber [line 292]

void setLabelNumber( int $number)

Change label number



Tags:

access:  public


Parameters:

int   $number   New number

[ Top ]

method setLabelPosition [line 283]

void setLabelPosition( int $position)

Change label position



Tags:

access:  public


Parameters:

int   $position   New position in pixels

[ Top ]

method setLabelPrecision [line 274]

void setLabelPrecision( int $precision)

Change label precision



Tags:

access:  public


Parameters:

int   $precision   New precision

[ Top ]

method setLegend [line 223]

void setLegend( array $legend)

Change legend values



Tags:

access:  public


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



Tags:

access:  public


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



Tags:

access:  public


Parameters:

array   $values  

[ Top ]


Class Constants

AQUA =  3

[line 49]

A water theme for pies


[ Top ]

COLORED =  2

[line 42]

A colored theme for pies


[ Top ]

DARK =  1

[line 35]

A dark theme for pies


[ Top ]

EARTH =  4

[line 56]

A earth theme for pies


[ Top ]



Documentation generated on Thu, 03 May 2012 15:07:10 +0200 by phpDocumentor 1.4.1