PHP Class HorizontalBarGraph, GotCms

Inheritance: extends GridGraph
Mostrar archivo Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$bar_styles
$flip_axes
$label_centre
$legend_reverse

Protected Methods

Method Description
Bar ( $value, &$bar ) Fills in the x-position and width of a bar
BarLabel ( $value, &$bar, $offset_x = null ) Text labels in or above the bar
Draw ( )
DrawLegendEntry ( $set, $x, $y, $w, $h ) Return box for legend
LabelAdjustment ( $longest_v = 1000, $longest_h = 100 ) Overload to flip axes

Method Details

Bar() protected method

Fills in the x-position and width of a bar
protected Bar ( $value, &$bar )

BarLabel() protected method

Text labels in or above the bar
protected BarLabel ( $value, &$bar, $offset_x = null )

Draw() protected method

protected Draw ( )

DrawLegendEntry() protected method

Return box for legend
protected DrawLegendEntry ( $set, $x, $y, $w, $h )

LabelAdjustment() protected method

Overload to flip axes
protected LabelAdjustment ( $longest_v = 1000, $longest_h = 100 )

Property Details

$bar_styles protected_oe property

protected $bar_styles

$flip_axes protected_oe property

protected $flip_axes

$label_centre protected_oe property

protected $label_centre

$legend_reverse protected_oe property

protected $legend_reverse