ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
maximum_configuration.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Chart\ProgressMeter\Standard
;
6
10
function
maximum_configuration
()
11
{
12
//Loading factories
13
global
$DIC
;
14
$f
= $DIC->ui()->factory();
15
$renderer = $DIC->ui()->renderer();
16
17
//Generating and rendering the standard progressmeter
18
$progressmeter =
$f
->chart()->progressMeter()->standard(100, 75, 80, 50);
19
20
// add score text
21
$progressmeter = $progressmeter->withMainText(
'Your Score'
);
22
23
// add required text
24
$progressmeter = $progressmeter->withRequiredText(
'Required Score'
);
25
26
// render
27
return
$renderer->render($progressmeter);
28
}
ILIAS\UI\examples\Chart\ProgressMeter\Standard
Definition:
base.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Chart\ProgressMeter\Standard\maximum_configuration
maximum_configuration()
Example for rendering a standard Progress Meter with maximum configuration.
Definition:
maximum_configuration.php:10
src
UI
examples
Chart
ProgressMeter
Standard
maximum_configuration.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)