ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 23 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 60 of file class.ilChartData.php.
References null.
ilChartData::getData | ( | ) |
Get data.
Definition at line 76 of file class.ilChartData.php.
References $data.
Referenced by parseData().
ilChartData::getFill | ( | ) |
Definition at line 91 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData(), parseData(), and ilChartDataPie\parseGlobalOptions().
ilChartData::getLabel | ( | ) |
Definition at line 49 of file class.ilChartData.php.
References $label.
Referenced by parseData().
|
abstractprotected |
ilChartData::isHidden | ( | ) |
Definition at line 39 of file class.ilChartData.php.
References $hidden.
Referenced by ilChartDataPie\parseData(), and parseData().
ilChartData::parseData | ( | array & | $a_data | ) |
Convert data to flot config.
Definition at line 106 of file class.ilChartData.php.
References getData(), getFill(), getLabel(), getTypeString(), isHidden(), parseDataOptions(), and ilChart\renderColor().
|
protected |
Convert data options to flot config.
Definition at line 99 of file class.ilChartData.php.
Referenced by parseData().
ilChartData::parseGlobalOptions | ( | stdClass | $a_options, |
ilChart | $a_chart | ||
) |
Convert (global) properties to flot config.
Definition at line 140 of file class.ilChartData.php.
ilChartData::setFill | ( | float | $a_value, |
string | $a_color = "" |
||
) |
Definition at line 81 of file class.ilChartData.php.
References ilChart\isValidColor().
ilChartData::setHidden | ( | bool | $a_value | ) |
Definition at line 34 of file class.ilChartData.php.
ilChartData::setLabel | ( | string | $a_value | ) |
Definition at line 44 of file class.ilChartData.php.
|
protected |
Definition at line 27 of file class.ilChartData.php.
Referenced by getData().
|
protected |
Definition at line 28 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData(), and ilChartDataPie\parseGlobalOptions().
|
protected |
Definition at line 29 of file class.ilChartData.php.
|
protected |
Definition at line 30 of file class.ilChartData.php.
Referenced by isHidden().
|
protected |
Definition at line 26 of file class.ilChartData.php.
Referenced by getLabel(), and ilChartDataSpider\parseGlobalOptions().
|
protected |
Definition at line 25 of file class.ilChartData.php.