PHP Class StackedBarGraph, GotCms

Inheritance: extends BarGraph
显示文件 Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$legend_reverse
$multi_graph

Public Methods

Method Description
Values ( $values ) construct multigraph

Protected Methods

Method Description
BarLabel ( $value, &$bar, $offset_y = null ) Overridden to prevent drawing behind higher bars $offset_y should be true for inner bars
Draw ( )
GetHorizontalCount ( ) Find the longest data set
GetKey ( $index ) Returns the key from the MultiGraph
GetMaxKey ( ) Returns the maximum key from the MultiGraph
GetMaxValue ( ) Returns the maximum (stacked) value
GetMinKey ( ) Returns the minimum key from the MultiGraph
GetMinValue ( ) Returns the minimum (stacked) value

Method Details

BarLabel() protected method

Overridden to prevent drawing behind higher bars $offset_y should be true for inner bars
protected BarLabel ( $value, &$bar, $offset_y = null )

Draw() protected method

protected Draw ( )

GetHorizontalCount() protected method

Find the longest data set
protected GetHorizontalCount ( )

GetKey() protected method

Returns the key from the MultiGraph
protected GetKey ( $index )

GetMaxKey() protected method

Returns the maximum key from the MultiGraph
protected GetMaxKey ( )

GetMaxValue() protected method

Returns the maximum (stacked) value
protected GetMaxValue ( )

GetMinKey() protected method

Returns the minimum key from the MultiGraph
protected GetMinKey ( )

GetMinValue() protected method

Returns the minimum (stacked) value
protected GetMinValue ( )

Values() public method

construct multigraph
public Values ( $values )

Property Details

$legend_reverse protected_oe property

protected $legend_reverse

$multi_graph protected_oe property

protected $multi_graph