|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilChartData:
Collaboration diagram for ilChartData:Public Member Functions | |
| setHidden (bool $a_value) | |
| isHidden () | |
| setLabel (string $a_value) | |
| getLabel () | |
| addPoint (float $a_x, ?float $a_y=null) | |
| Set data. More... | |
| getData () | |
| Get data. More... | |
| setFill (float $a_value, string $a_color="") | |
| getFill () | |
| parseData (array &$a_data) | |
| Convert data to flot config. More... | |
| parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
| Convert (global) properties to flot config. More... | |
Protected Member Functions | |
| getTypeString () | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. More... | |
Protected Attributes | |
| string | $type = "" |
| string | $label = "" |
| array | $data = [] |
| float | $fill = 0 |
| string | $fill_color = "" |
| bool | $hidden = false |
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 Abstract chart data series base class
Definition at line 20 of file class.ilChartData.php.
| ilChartData::addPoint | ( | float | $a_x, |
| ?float | $a_y = null |
||
| ) |
Set data.
| float | $a_x | |
| float | $a_y |
Definition at line 57 of file class.ilChartData.php.
| ilChartData::getData | ( | ) |
Get data.
Definition at line 73 of file class.ilChartData.php.
References $data.
| ilChartData::getFill | ( | ) |
Definition at line 88 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData().
Here is the caller graph for this function:| ilChartData::getLabel | ( | ) |
|
abstractprotected |
Reimplemented in ilChartDataBars, ilChartDataLines, ilChartDataPie, ilChartDataPoints, and ilChartDataSpider.
| ilChartData::isHidden | ( | ) |
Definition at line 36 of file class.ilChartData.php.
References $hidden.
Referenced by ilChartDataPie\parseData().
Here is the caller graph for this function:| ilChartData::parseData | ( | array & | $a_data | ) |
Convert data to flot config.
Reimplemented in ilChartDataPie, and ilChartDataSpider.
Definition at line 103 of file class.ilChartData.php.
References ilChart\renderColor().
Here is the call graph for this function:
|
protected |
Convert data options to flot config.
Reimplemented in ilChartDataBars, ilChartDataLines, and ilChartDataPoints.
Definition at line 96 of file class.ilChartData.php.
| ilChartData::parseGlobalOptions | ( | stdClass | $a_options, |
| ilChart | $a_chart | ||
| ) |
Convert (global) properties to flot config.
Reimplemented in ilChartDataPie, and ilChartDataSpider.
Definition at line 137 of file class.ilChartData.php.
| ilChartData::setFill | ( | float | $a_value, |
| string | $a_color = "" |
||
| ) |
Definition at line 78 of file class.ilChartData.php.
| ilChartData::setHidden | ( | bool | $a_value | ) |
Definition at line 31 of file class.ilChartData.php.
| ilChartData::setLabel | ( | string | $a_value | ) |
Definition at line 41 of file class.ilChartData.php.
|
protected |
Definition at line 24 of file class.ilChartData.php.
|
protected |
Definition at line 25 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData().
|
protected |
Definition at line 26 of file class.ilChartData.php.
|
protected |
Definition at line 27 of file class.ilChartData.php.
Referenced by isHidden().
|
protected |
Definition at line 23 of file class.ilChartData.php.
Referenced by getLabel(), and ilChartDataSpider\parseGlobalOptions().
|
protected |
Definition at line 22 of file class.ilChartData.php.