PHP Класс ThreeDGraph, GotCms

Наследование: extends GridGraph
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
Adjust3DAxes ( $count, &$x_len, &$y_len ) Adjust axes for block spacing, returning the depth unit

Описание методов

AngleRadians() защищенный Метод

Returns the projection angle in radians
protected AngleRadians ( )

CalcAxes() защищенный Метод

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

ClampHorizontal() защищенный Метод

protected ClampHorizontal ( $val )

ClampVertical() защищенный Метод

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

GetAxes() защищенный Метод

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

GetHorizontalDivision() защищенный Метод

Figure out how many bars there are
protected GetHorizontalDivision ( )

Grid() защищенный Метод

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

GuidelinePath() защищенный Метод

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

Project() защищенный Метод

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