PHP Class HorizontalBarGraph, GotCms

Inheritance: extends GridGraph
Show file 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 property

protected $bar_styles

$flip_axes protected property

protected $flip_axes

$label_centre protected property

protected $label_centre

$legend_reverse protected property

protected $legend_reverse