$caption_refs
$caption_refs :
Array of tags of referencable captions.
Collection of functions for visualization of data by means of relatively simple html.
Provides in particular a function to plot histograms.
histogram(array $data, float $x_delta, integer $max_x_labels, integer $max_y_labels, string $max_width, string $height, string $x_label = null, string $y_label = null, string $color = "#000000", string $caption = null, string $ref = null) : string
Histogram
Display the provided data as a histogram.
array | $data | Array of data to be displayed as a histogram. Can be a dictionary, in which case the values will be interpreted as the data. |
float | $x_delta | The width of the bins (in x direction) of the histogram. |
integer | $max_x_labels | The maximum number of labels on the x axis. |
integer | $max_y_labels | The maximum number of labels on the y axis. |
string | $max_width | HTML length for the maximum width, below that takes 100% of the available space |
string | $height | HTML length for the height of the plot |
string | $x_label | The label of the x axis |
string | $y_label | The label of the y axis |
string | $color | The color of of the bars in HTML notation (defaults to '#000000'). |
string | $caption | The caption of the plot (optional) |
string | $ref | The reference key of this plot |
The generated html code of the histogram