PHP Class ThreeDGraph, GotCms

Inheritance: extends GridGraph
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Méthodes protégées

Méthode Description
AngleRadians ( ) Returns the projection angle in radians
CalcAxes ( ) Calculates the sizes of the 3D axes and grid
ClampHorizontal ( $val )
ClampVertical ( $val ) clamps a value to the grid boundaries
GetAxes ( $ends, &$x_len, &$y_len ) Adjust the axis sizes to account for the block depth
GetHorizontalDivision ( ) Figure out how many bars there are
Grid ( ) Draws the grid behind the bar / line graph
GuidelinePath ( $axis, $value, $depth, &$x, &$y, &$w, &$h ) Returns the path for a guideline, and sets dimensions of the straight bit
Project ( $x, $y, $z ) Converts x,y,z coordinates into flat x,y

Private Methods

Méthode Description
Adjust3DAxes ( $count, &$x_len, &$y_len ) Adjust axes for block spacing, returning the depth unit

Method Details

AngleRadians() protected méthode

Returns the projection angle in radians
protected AngleRadians ( )

CalcAxes() protected méthode

Calculates the sizes of the 3D axes and grid
protected CalcAxes ( )

ClampHorizontal() protected méthode

protected ClampHorizontal ( $val )

ClampVertical() protected méthode

clamps a value to the grid boundaries
protected ClampVertical ( $val )

GetAxes() protected méthode

Adjust the axis sizes to account for the block depth
protected GetAxes ( $ends, &$x_len, &$y_len )

GetHorizontalDivision() protected méthode

Figure out how many bars there are
protected GetHorizontalDivision ( )

Grid() protected méthode

Draws the grid behind the bar / line graph
protected Grid ( )

GuidelinePath() protected méthode

Returns the path for a guideline, and sets dimensions of the straight bit
protected GuidelinePath ( $axis, $value, $depth, &$x, &$y, &$w, &$h )

Project() protected méthode

Converts x,y,z coordinates into flat x,y
protected Project ( $x, $y, $z )