\Charcoal\Admin\Widget\GraphGraphWidgetInterface

Graph Widget Interface

Summary

Methods
Constants
setHeight()
height()
setColors()
colors()
defaultColors()
categories()
categoriesJson()
series()
seriesJson()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

height()

height() : mixed

Returns

mixed

setColors()

setColors(array<mixed,string>  $colors) : \Charcoal\Admin\Widget\Graph\GraphWidgetInterface

Parameters

array<mixed,string> $colors

The graph colors (hexadecimal).

Returns

\Charcoal\Admin\Widget\Graph\GraphWidgetInterface

Chainable

colors()

colors() : array<mixed,string>

Returns

array<mixed,string>

defaultColors()

defaultColors() : array<mixed,string>

Returns

array<mixed,string>

categories()

categories() : array

Returns

array —

Categories structure.

categoriesJson()

categoriesJson() : string

Returns

string —

JSONified categories structure.

series()

series() : array

Returns

array —

Series structure.

seriesJson()

seriesJson() : string

Returns

string —

JSONified series structure.