PHP Class HorizontalStackedBarGraph, GotCms

Inheritance: extends HorizontalBarGraph
Mostrar archivo 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_x = 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
GetLongestKey ( ) Return the longest of all keys
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
LabelAdjustment ( $longest_v = 1000, $longest_h = 100 ) Overload to measure keys

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_x = 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 )

GetLongestKey() protected method

Return the longest of all keys
protected GetLongestKey ( )

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 ( )

LabelAdjustment() protected method

Overload to measure keys
protected LabelAdjustment ( $longest_v = 1000, $longest_h = 100 )

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