PHP 클래스 ThreeDGraph, GotCms

상속: extends GridGraph
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 메소드들

메소드 설명
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 )