PHP Class DebugKit\View\Helper\SimpleGraphHelper

Allows creation and display of extremely simple graphing elements
Inheritance: extends Cake\View\Helper
Datei anzeigen Open project: cakephp/debug_kit

Protected Properties

Property Type Description
$_defaultSettings array Allowed options: - max => (int) Maximum value in the graphs - width => (int) - valueType => string (value, percentage) - style => array

Public Methods

Method Description
bar ( float $value, integer $offset, array | Graph $options = [] ) : string bar method

Method Details

bar() public method

bar method
public bar ( float $value, integer $offset, array | Graph $options = [] ) : string
$value float Value to be graphed
$offset integer how much indentation
$options array | Graph Graph options
return string Html graph

Property Details

$_defaultSettings protected_oe property

Allowed options: - max => (int) Maximum value in the graphs - width => (int) - valueType => string (value, percentage) - style => array
protected array $_defaultSettings
return array