ILIAS  release_8 Revision v8.24
only_comparison_value.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
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, 0, 75, 50);
19
20 // render
21 return $renderer->render($progressmeter);
22}
global $DIC
Definition: feed.php:28
only_comparison_value()
Example for rendering a standard Progress Meter with an comparison value only.