\Rasb14\T100Histogram

Collects and generates histogram data.

Summary

Methods
Properties
Constants
getSequence()
getSortedSequence()
getHtml()
injectData()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$sequence
$min
$max
N/A

Properties

$sequence

$sequence : array

Type

array — The numbers stored in sequence.

$min

$min : 

Type

$max

$max : 

Type

Methods

getSequence()

getSequence() : array

Get the sequence.

Returns

array —

as the sequence.

getSortedSequence()

getSortedSequence() : array

Gets the sequence sorted from the minimum value to the maximum value.

Returns

array —

as the sorted sequence.

getHtml()

getHtml() : string

Gets the html representation of the histogram.

Returns

string —

as html ul list representing the histogram.

injectData()

injectData(\Rasb14\T100\IHistogram  $object) : \Rasb14\T100\void.

Inject the object to use as base for the histogram data.

Parameters

\Rasb14\T100\IHistogram $object

The object holding the sequence.

Returns

\Rasb14\T100\void.