ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
only_comparison_value.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
19 {
20  //Loading factories
21  global $DIC;
22  $f = $DIC->ui()->factory();
23  $renderer = $DIC->ui()->renderer();
24 
25  //Generating and rendering the standard progressmeter
26  $progressmeter = $f->chart()->progressMeter()->standard(100, 0, 75, 50);
27 
28  // render
29  return $renderer->render($progressmeter);
30 }
$renderer
global $DIC
Definition: shib_login.php:25
only_comparison_value()
description: > Example for rendering a standard Progress Meter with a comparison value only ...