ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getDataInstance (?int $a_type=null) | |
setLegLabels (array $a_val) | |
Set leg labels. More... | |
getLegLabels () | |
Get leg labels. More... | |
setYAxisMax (float $a_val) | |
Set y axis max value. More... | |
getYAxisMax () | |
Get y axis max value. More... | |
parseGlobalOptions (stdClass $a_options) | |
![]() | |
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... | |
Protected Member Functions | |
isValidDataType (ilChartData $a_series) | |
addCustomJS () | |
![]() | |
__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 | $leg_labels = array() |
float | $y_max = 0 |
![]() | |
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 | 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... | |
![]() | |
const | TYPE_GRID = 1 |
const | TYPE_PIE = 2 |
const | TYPE_SPIDER = 3 |
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 spider charts
Definition at line 23 of file class.ilChartSpider.php.
|
protected |
Definition at line 75 of file class.ilChartSpider.php.
References ilChart\$tpl, and ILIAS\UICore\GlobalTemplate\addJavaScript().
ilChartSpider::getDataInstance | ( | ?int | $a_type = null | ) |
Definition at line 28 of file class.ilChartSpider.php.
ilChartSpider::getLegLabels | ( | ) |
Get leg labels.
Definition at line 51 of file class.ilChartSpider.php.
References $leg_labels.
ilChartSpider::getYAxisMax | ( | ) |
Get y axis max value.
Definition at line 70 of file class.ilChartSpider.php.
References $y_max.
Referenced by parseGlobalOptions().
|
protected |
Definition at line 33 of file class.ilChartSpider.php.
ilChartSpider::parseGlobalOptions | ( | stdClass | $a_options | ) |
Definition at line 83 of file class.ilChartSpider.php.
References getYAxisMax(), and ilChart\renderColor().
ilChartSpider::setLegLabels | ( | array | $a_val | ) |
Set leg labels.
array | $a_val | leg labels (array of strings) |
Definition at line 42 of file class.ilChartSpider.php.
ilChartSpider::setYAxisMax | ( | float | $a_val | ) |
Set y axis max value.
float | $a_val | y axis max value |
Definition at line 61 of file class.ilChartSpider.php.
|
protected |
Definition at line 25 of file class.ilChartSpider.php.
Referenced by getLegLabels().
|
protected |
Definition at line 26 of file class.ilChartSpider.php.
Referenced by getYAxisMax().