|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilChartGrid:
Collaboration diagram for ilChartGrid:Public Member Functions | |
| getDataInstance (int $a_type=null) | |
| setTicks ($a_x, $a_y, bool $a_labeled=false) | |
| Set ticks. More... | |
| getTicks () | |
| Get ticks. More... | |
| setYAxisToInteger (bool $a_status) | |
| Restrict y-axis to integer values. More... | |
| setXAxisToInteger (bool $a_status) | |
| Restrict x-axis to integer values. More... | |
| parseGlobalOptions (stdClass $a_options) | |
Public Member Functions inherited from ilChart | |
| getDataInstance (int $a_type=null) | |
| Get data series instance. More... | |
| setSize (string $a_x, string $a_y) | |
| Set chart size. More... | |
| addData (ilChartData $a_series, ?int $a_idx=null) | |
| Add data series. More... | |
| setLegend (ilChartLegend $a_legend) | |
| setColors (array $a_values) | |
| getColors () | |
| setShadow (int $a_value) | |
| getShadow () | |
| setAutoResize (bool $a_value) | |
| Toggle auto-resizing on window resize/redraw. More... | |
| setStacked (bool $a_value) | |
| parseGlobalOptions (stdClass $a_options) | |
| Convert (global) properties to flot config. More... | |
| getHTML () | |
| Render. More... | |
Data Fields | |
| const | DATA_LINES = 1 |
| const | DATA_BARS = 2 |
| const | DATA_POINTS = 3 |
Data Fields inherited from ilChart | |
| const | TYPE_GRID = 1 |
| const | TYPE_PIE = 2 |
| const | TYPE_SPIDER = 3 |
Protected Member Functions | |
| __construct (string $a_id) | |
| isValidDataType (ilChartData $a_series) | |
Protected Member Functions inherited from ilChart | |
| __construct (string $a_id) | |
| isValidDataType (ilChartData $a_series) | |
| Validate data series. More... | |
| isValid () | |
| Basic validation. More... | |
| initJS () | |
| Init JS script files. More... | |
| addCustomJS () | |
| Add type-specific JS script. More... | |
Protected Attributes | |
| array | $ticks |
| array | $integer_axis |
Protected Attributes inherited from ilChart | |
| ilGlobalTemplateInterface | $tpl |
| string | $id = "" |
| string | $width = "" |
| string | $height = "" |
| array | $data = [] |
| ilChartLegend | $legend = null |
| int | $shadow = 0 |
| array | $colors = [] |
| bool | $auto_resize = false |
| bool | $stacked = false |
Additional Inherited Members | |
Static Public Member Functions inherited from ilChart | |
| static | getInstanceByType (int $a_type, string $a_id) |
| static | isValidColor (string $a_value) |
| Validate html color code. More... | |
| static | renderColor (string $a_value, float $a_opacity=1) |
| Render html color code. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too. If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Generator for grid-based charts
Definition at line 20 of file class.ilChartGrid.php.
|
protected |
Definition at line 29 of file class.ilChartGrid.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct(), setXAxisToInteger(), and setYAxisToInteger().
Here is the call graph for this function:| ilChartGrid::getDataInstance | ( | int | $a_type = null | ) |
Definition at line 37 of file class.ilChartGrid.php.
| ilChartGrid::getTicks | ( | ) |
Get ticks.
Definition at line 77 of file class.ilChartGrid.php.
References $ticks.
Referenced by parseGlobalOptions().
Here is the caller graph for this function:
|
protected |
Definition at line 52 of file class.ilChartGrid.php.
| ilChartGrid::parseGlobalOptions | ( | stdClass | $a_options | ) |
Definition at line 98 of file class.ilChartGrid.php.
References getTicks().
Here is the call graph for this function:| ilChartGrid::setTicks | ( | $a_x, | |
| $a_y, | |||
| bool | $a_labeled = false |
||
| ) |
Set ticks.
| int | array | $a_x | |
| int | array | $a_y | |
| bool | $a_labeled |
Definition at line 68 of file class.ilChartGrid.php.
| ilChartGrid::setXAxisToInteger | ( | bool | $a_status | ) |
Restrict x-axis to integer values.
Definition at line 93 of file class.ilChartGrid.php.
Referenced by __construct().
Here is the caller graph for this function:| ilChartGrid::setYAxisToInteger | ( | bool | $a_status | ) |
Restrict y-axis to integer values.
Definition at line 85 of file class.ilChartGrid.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilChartGrid.php.
|
protected |
Definition at line 26 of file class.ilChartGrid.php.
Referenced by getTicks().
| const ilChartGrid::DATA_BARS = 2 |
Definition at line 23 of file class.ilChartGrid.php.
Referenced by SurveyMetricQuestionEvaluation\getChart(), SurveyMatrixQuestionEvaluation\getChart(), SurveyQuestionEvaluation\getChart(), and ilWikiStatGUI\renderGraph().
| const ilChartGrid::DATA_LINES = 1 |
Definition at line 22 of file class.ilChartGrid.php.
Referenced by ilSessionStatisticsGUI\getChart(), ilLPObjectStatisticsTypesTableGUI\getGraph(), ilLPObjectStatisticsDailyTableGUI\getGraph(), ilLPObjectStatisticsTableGUI\getGraph(), ilLPObjectStatisticsLPTableGUI\getGraph(), and ilWikiStatGUI\renderGraph().
| const ilChartGrid::DATA_POINTS = 3 |
Definition at line 24 of file class.ilChartGrid.php.