ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
only_comparison_value.php File Reference

Go to the source code of this file.

Functions

 only_comparison_value ()
 Example for rendering a fixed size Progress Meter with an diagnostic score only. More...
 

Function Documentation

◆ only_comparison_value()

only_comparison_value ( )

Example for rendering a fixed size Progress Meter with an diagnostic score only.

Definition at line 5 of file only_comparison_value.php.

6{
7 //Loading factories
8 global $DIC;
9 $f = $DIC->ui()->factory();
10 $renderer = $DIC->ui()->renderer();
11
12 //Genarating and rendering the responsive progressmeter
13 $progressmeter = $f->chart()->progressMeter()->fixedSize(100, 0, 75, 50);
14
15 // render
16 return $renderer->render($progressmeter);
17}
$DIC
Definition: xapitoken.php:46

References $DIC, and Vendor\Package\$f.