ILIAS  trunk Revision v5.2.0beta1-34115-g3a2438be29
ILIAS\UI\Component\Chart\ScaleBar Interface Reference

Interface Scale Bars. More...

+ Inheritance diagram for ILIAS\UI\Component\Chart\ScaleBar:
+ Collaboration diagram for ILIAS\UI\Component\Chart\ScaleBar:

Public Member Functions

 withItems (array $items)
 Sets a key value pair as items for the list. More...
 
 getItems ()
 Gets the key value pair as array. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 

Detailed Description

Interface Scale Bars.

Definition at line 28 of file ScaleBar.php.

Member Function Documentation

◆ getItems()

ILIAS\UI\Component\Chart\ScaleBar::getItems ( )

Gets the key value pair as array.

Key is used as title and value is a boolean marking highlighted values.

Returns
array $items string => boolean

◆ withItems()

ILIAS\UI\Component\Chart\ScaleBar::withItems ( array  $items)

Sets a key value pair as items for the list.

Key is used as title and value is a boolean marking highlighted values.

Parameters
arraystring => boolean Set of elements to be rendered, boolean should be true if highlighted

The documentation for this interface was generated from the following file: