PHP 클래스 RadarGraph, GotCms

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

보호된 프로퍼티들

프로퍼티 타입 설명
$arad
$grid_angles
$label_centre ends at N points + 1
$radius
$xc
$yc

공개 메소드들

메소드 설명
Draw ( )

보호된 메소드들

메소드 설명
CalcAxes ( $h_by_count = false, $bar = false ) Calculate the extra details for radar axes
CalcGrid ( ) Calculates the position of grid lines
CheckValues ( &$values ) Need at least two values and no negative values
DrawLegendEntry ( $set, $x, $y, $w, $h ) Return line and marker for legend
Grid ( ) Draws the grid behind the graph
GridPosition ( $key, $ikey ) Finds the grid position for radar graphs, returns NULL if not on graph
LabelAdjustment ( $longest_v = 1000, $longest_h = 100 ) Adjusts the spacing for labels on all sides
SetGridDimensions ( ) Sets the grid size as circumference x radius
VLabel ( &$attribs ) Returns what would be the vertical axis label
XAxis ( $yoff ) The X-axis is wrapped around the graph
XAxisDivisions ( &$points, $style, $style_default, $size, $size_default, $yoff ) Division marks around the graph
XAxisText ( &$points, $xoff, $yoff, $angle ) Text labels for the wrapped X-axis
XGrid ( &$x_points ) Draws radiating X grid lines
YAxis ( $xoff ) The Y-axis is at start angle
YAxisDivisions ( &$points, $style, $style_default, $size, $size_default, $xoff ) Draws Y-axis divisions at whatever angle the Y-axis is
YAxisText ( &$points, $xoff, $yoff, $angle ) Text labels for the Y-axis
YGrid ( &$y_points ) Draws concentric Y grid lines

메소드 상세

CalcAxes() 보호된 메소드

Calculate the extra details for radar axes
protected CalcAxes ( $h_by_count = false, $bar = false )

CalcGrid() 보호된 메소드

Calculates the position of grid lines
protected CalcGrid ( )

CheckValues() 보호된 메소드

Need at least two values and no negative values
protected CheckValues ( &$values )

Draw() 공개 메소드

public Draw ( )

DrawLegendEntry() 보호된 메소드

Return line and marker for legend
protected DrawLegendEntry ( $set, $x, $y, $w, $h )

Grid() 보호된 메소드

Draws the grid behind the graph
protected Grid ( )

GridPosition() 보호된 메소드

Finds the grid position for radar graphs, returns NULL if not on graph
protected GridPosition ( $key, $ikey )

LabelAdjustment() 보호된 메소드

Adjusts the spacing for labels on all sides
protected LabelAdjustment ( $longest_v = 1000, $longest_h = 100 )

SetGridDimensions() 보호된 메소드

Sets the grid size as circumference x radius
protected SetGridDimensions ( )

VLabel() 보호된 메소드

Returns what would be the vertical axis label
protected VLabel ( &$attribs )

XAxis() 보호된 메소드

The X-axis is wrapped around the graph
protected XAxis ( $yoff )

XAxisDivisions() 보호된 메소드

Division marks around the graph
protected XAxisDivisions ( &$points, $style, $style_default, $size, $size_default, $yoff )

XAxisText() 보호된 메소드

Text labels for the wrapped X-axis
protected XAxisText ( &$points, $xoff, $yoff, $angle )

XGrid() 보호된 메소드

Draws radiating X grid lines
protected XGrid ( &$x_points )

YAxis() 보호된 메소드

The Y-axis is at start angle
protected YAxis ( $xoff )

YAxisDivisions() 보호된 메소드

Draws Y-axis divisions at whatever angle the Y-axis is
protected YAxisDivisions ( &$points, $style, $style_default, $size, $size_default, $xoff )

YAxisText() 보호된 메소드

Text labels for the Y-axis
protected YAxisText ( &$points, $xoff, $yoff, $angle )

YGrid() 보호된 메소드

Draws concentric Y grid lines
protected YGrid ( &$y_points )

프로퍼티 상세

$arad 보호되어 있는 프로퍼티

protected $arad

$grid_angles 보호되어 있는 프로퍼티

protected $grid_angles

$label_centre 보호되어 있는 프로퍼티

ends at N points + 1
protected $label_centre

$radius 보호되어 있는 프로퍼티

protected $radius

$xc 보호되어 있는 프로퍼티

protected $xc

$yc 보호되어 있는 프로퍼티

protected $yc