phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DBaseChart

Source Location: /Files/Pictures/Charts/DBaseChart.php

Class Overview

DObject
   |
   --DBaseChart

Base Chart class


Author(s):

Variables

Methods


Child classes:

DDotChart
Dot Chart class

Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 14]
Base Chart class



Tags:

abstract:  


[ Top ]


Class Variables

$baseOffset =  15

[line 63]

Offset of the base chart



Tags:

access:  public

Type:   int


[ Top ]

$extraOffsetX =  0

[line 70]

Extra offset on x



Tags:

access:  public

Type:   float


[ Top ]

$extraOffsetY =  0

[line 77]

Extra offset on y



Tags:

access:  public

Type:   float


[ Top ]

$gridXStep =

[line 35]

Step of the X grid



Tags:

access:  public

Type:   real


[ Top ]

$gridYStep =

[line 42]

Step of the Y grid



Tags:

access:  public

Type:   real


[ Top ]

$height =

[line 28]

Height of the image



Tags:

access:  public

Type:   real


[ Top ]

$width =

[line 21]

Width of the image



Tags:

access:  public

Type:   real


[ Top ]

$_base =  null

[line 84]

Image GD resource



Tags:

access:  protected

Type:   resource


[ Top ]



Class Methods


constructor __construct [line 92]

DBaseChart __construct( )

Class constructor



Tags:

access:  public


Overridden in child classes as:

DDotChart::__construct()
Class Constructor
DMultipleDotChart::__construct()
Class Constructor

Overrides DObject::__construct() (Constructor)

[ Top ]

method chart [line 224]

void chart( )

Charts



Tags:

abstract:  
access:  public


Overridden in child classes as:

DDotChart::chart()
Charts
DMultipleDotChart::chart()
Charts

[ Top ]

method getLayout [line 207]

string getLayout( )

Gets the layout image as raw data



Tags:

access:  public


[ Top ]

method init [line 104]

void init( real $width, real $height)

Inits the chart with width and height



Tags:

access:  public


Parameters:

real   $width  
real   $height  

[ Top ]

method makeLayout [line 196]

void makeLayout( )

Fills the base with color and draws the grid



Tags:

access:  public


[ Top ]

method setBaseColorRGBA [line 121]

void setBaseColorRGBA( int $r, int $g, int $b, int $a)

Sets base color



Tags:

access:  public


Parameters:

int   $r  
int   $g  
int   $b  
int   $a  

[ Top ]

method setGridColorRGBA [line 141]

void setGridColorRGBA( int $r, int $g, int $b, int $a)

Sets grid color



Tags:

access:  public


Parameters:

int   $r  
int   $g  
int   $b  
int   $a  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:02:33 +0300 by phpDocumentor 1.4.3