1<?php
2/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
3namespace ILIAS\UI\Component\Chart;
4
5use ILIAS\UI\Component\Component;
6
7/**
8 * Interface Scale Bars
9 */
10interface ScaleBar extends Component
11{
12    /**
13     * Sets a key value pair as items for the list. Key is used as title and value is a boolean marking highlighted values.
14     * @param array string => boolean Set of elements to be rendered, boolean should be true if highlighted
15     * @return \ILIAS\UI\Component\Chart\ScaleBar
16     */
17    public function withItems(array $items);
18    /**
19     * Gets the key value pair as array. Key is used as title and value is a boolean marking highlighted values.
20     * @return array $items string => boolean
21     */
22    public function getItems();
23}
24