ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Chart\ScaleBar
;
6
17
function
base
()
18
{
19
//Init Factory and Renderer
20
global
$DIC
;
21
$f
= $DIC->ui()->factory();
22
$renderer
= $DIC->ui()->renderer();
23
24
$c
=
$f
->chart()->scaleBar(
25
array(
26
"None"
=>
false
,
27
"Low"
=>
false
,
28
"Medium"
=>
true
,
29
"High"
=>
false
30
)
31
);
32
33
//Render
34
return
$renderer
->render(
$c
);
35
}
ILIAS\UI\examples\Chart\ScaleBar
Definition:
base.php:5
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Chart\ScaleBar\base
base()
description: > Example of rendering a base scale bar.
Definition:
base.php:17
$c
$c
Definition:
deliver.php:9
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Chart
ScaleBar
base.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)