PHP Class HorizontalStackedBarGraph, GotCms

Inheritance: extends HorizontalBarGraph
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$legend_reverse
$multi_graph

Méthodes publiques

Méthode Description
Values ( $values ) construct multigraph

Méthodes protégées

Méthode 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 méthode

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

Draw() protected méthode

protected Draw ( )

GetHorizontalCount() protected méthode

Find the longest data set
protected GetHorizontalCount ( )

GetKey() protected méthode

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

GetLongestKey() protected méthode

Return the longest of all keys
protected GetLongestKey ( )

GetMaxKey() protected méthode

Returns the maximum key from the MultiGraph
protected GetMaxKey ( )

GetMaxValue() protected méthode

Returns the maximum (stacked) value
protected GetMaxValue ( )

GetMinKey() protected méthode

Returns the minimum key from the MultiGraph
protected GetMinKey ( )

GetMinValue() protected méthode

Returns the minimum (stacked) value
protected GetMinValue ( )

LabelAdjustment() protected méthode

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

Values() public méthode

construct multigraph
public Values ( $values )

Property Details

$legend_reverse protected_oe property

protected $legend_reverse

$multi_graph protected_oe property

protected $multi_graph