ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
only_comparison_value.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
35 {
36  //Loading factories
37  global $DIC;
38  $f = $DIC->ui()->factory();
39  $renderer = $DIC->ui()->renderer();
40 
41  //Generating and rendering the standard progressmeter
42  $progressmeter = $f->chart()->progressMeter()->standard(100, 0, 75, 50);
43 
44  // render
45  return $renderer->render($progressmeter);
46 }
$renderer
global $DIC
Definition: shib_login.php:22
only_comparison_value()
description: > Example for rendering a standard Progress Meter with a comparison value only ...