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

Class: DDotChart

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

Class Overview

DObject
   |
   --DBaseChart
      |
      --DDotChart

Dot Chart class


Variables

Constants

Methods


Child classes:

DMultipleDotChart
Multiple Dot Chart class

Inherited Constants

Inherited Variables

Inherited Methods

Class: DBaseChart

DBaseChart::__construct()
Class constructor
DBaseChart::chart()
Charts
DBaseChart::getLayout()
Gets the layout image as raw data
DBaseChart::init()
Inits the chart with width and height
DBaseChart::makeLayout()
Fills the base with color and draws the grid
DBaseChart::setBaseColorRGBA()
Sets base color
DBaseChart::setGridColorRGBA()
Sets grid color

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 16]
Dot Chart class



[ Top ]


Class Variables

$dotRadius =  0

[line 61]

Radius of the dot



Tags:

access:  public

Type:   real


[ Top ]

$dotSigningAutomaticallyFlipLastRecords =  0

[line 117]

Automatically to flip the last N records



Tags:

access:  public

Type:   int


[ Top ]

$dotSigningDirection =  DDotChart::DIRECTION_HORIZONTAL

[line 96]

Dots signing value direction



Tags:

access:  public

Type:   int


[ Top ]

$dotSigningXOffset =  0

[line 103]

Dots signing X Offset in VERTICAL MODE



Tags:

access:  public

Type:   int


[ Top ]

$dotSigningYOffset =  0

[line 110]

Dots signing Y Offset in VERTICAL MODE



Tags:

access:  public

Type:   int


[ Top ]

$filled =  true

[line 82]

Filled with color



Tags:

access:  public

Type:   boolean


[ Top ]

$gridYStepMin =  null

[line 68]

Min value of the value of the y grid



Tags:

access:  public

Type:   real


[ Top ]

$horizontalFrequencyIndex =  1

[line 138]

Horizontal frequency index



Tags:

access:  public

Type:   int


[ Top ]

$horizontalSigned =  true

[line 124]

Horizontal signed



Tags:

access:  public

Type:   boolean


[ Top ]

$labes = array()

[line 40]

Labes



Tags:

access:  public

Type:   array


[ Top ]

$linked =  true

[line 75]

Dots to be linked



Tags:

access:  public

Type:   boolean


[ Top ]

$signed =  true

[line 89]

Dots to be signed with values



Tags:

access:  public

Type:   boolean


[ Top ]

$values = array()

[line 33]

Values



Tags:

access:  public

Type:   array


[ Top ]

$verticalFrequencyIndex =  1

[line 145]

Vertical frequency index



Tags:

access:  public

Type:   int


[ Top ]

$verticalSigned =  true

[line 131]

Vertical signed



Tags:

access:  public

Type:   boolean


[ Top ]

$_dotColorRGBA =  null

[line 47]

Dot Color



Tags:

access:  protected

Type:   resource


[ Top ]

$_dotColorTextRGBA =  null

[line 54]

Text color



Tags:

access:  protected

Type:   resource


[ Top ]

$_gridYStep =

[line 152]

Y step of the drig



Tags:

access:  protected

Type:   real


[ Top ]



Class Methods


method chart [line 247]

void chart( )

Charts



Tags:

access:  public


Overridden in child classes as:

DMultipleDotChart::chart()
Charts

Overrides DBaseChart::chart() (Charts)

[ Top ]

constructor __construct [line 160]

DDotChart __construct( )

Class Constructor



Tags:

access:  public


Overridden in child classes as:

DMultipleDotChart::__construct()
Class Constructor

Overrides DBaseChart::__construct() (Class constructor)

[ Top ]

method setDotColorRGBA [line 201]

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

Sets color of the dots



Tags:

access:  public


Parameters:

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

[ Top ]

method setDotColorTextRGBA [line 221]

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

Sets color of the texts



Tags:

access:  public


Parameters:

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

[ Top ]

method setValues [line 171]

void setValues( array $values)

Sets values array and launches the analyze method



Tags:

access:  public


Parameters:

array   $values  

[ Top ]

method _analyze [line 182]

void _analyze( )

Analyzes values and geneartes grid steps



Tags:

access:  protected


Overridden in child classes as:

DMultipleDotChart::_analyze()
Analyzes values and geneartes grid steps

[ Top ]

method _getBottom [line 237]

int _getBottom( )

Gets bottom y



Tags:

access:  protected


[ Top ]


Class Constants

DIRECTION_HORIZONTAL =  1

[line 21]

Horizontal direction


[ Top ]

DIRECTION_VERTICAL =  2

[line 26]

Vertical direction


[ Top ]



Documentation generated on Sat, 17 Apr 2010 22:04:39 +0300 by phpDocumentor 1.4.3