ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
setPosition (string $a_position) | |
getPosition () | |
setColumns (int $a_value) | |
Set number of columns. More... | |
getColumns () | |
Get number of columns. More... | |
setMargin (int $a_x, int $a_y) | |
getMargin () | |
setBackground (string $a_color) | |
Set background color. More... | |
getBackground () | |
Get background color. More... | |
setOpacity (float $a_value) | |
getOpacity () | |
setLabelBorder (string $a_color) | |
getLabelBorder () | |
setContainer (string $a_value) | |
Set container id. More... | |
getContainer () | |
Get container id. More... | |
parseOptions (stdClass $a_options) | |
Convert (global) properties to flot config. More... | |
Protected Attributes | |
string | $position = "" |
int | $columns = 0 |
int | $margin_x = 0 |
int | $margin_y = 0 |
string | $background = "" |
float | $opacity = 0 |
string | $border = "" |
string | $container = "" |
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 Chart legend
Definition at line 20 of file class.ilChartLegend.php.
ilChartLegend::__construct | ( | ) |
Definition at line 31 of file class.ilChartLegend.php.
References setBackground(), setColumns(), setLabelBorder(), setMargin(), setOpacity(), and setPosition().
ilChartLegend::getBackground | ( | ) |
Get background color.
Definition at line 94 of file class.ilChartLegend.php.
References $background.
Referenced by parseOptions().
ilChartLegend::getColumns | ( | ) |
Get number of columns.
Definition at line 65 of file class.ilChartLegend.php.
References $columns.
Referenced by parseOptions().
ilChartLegend::getContainer | ( | ) |
Get container id.
Definition at line 134 of file class.ilChartLegend.php.
References $container.
Referenced by parseOptions().
ilChartLegend::getLabelBorder | ( | ) |
Definition at line 118 of file class.ilChartLegend.php.
References $border.
Referenced by parseOptions().
ilChartLegend::getMargin | ( | ) |
Definition at line 76 of file class.ilChartLegend.php.
Referenced by parseOptions().
ilChartLegend::getOpacity | ( | ) |
Definition at line 106 of file class.ilChartLegend.php.
References $opacity.
Referenced by parseOptions().
ilChartLegend::getPosition | ( | ) |
Definition at line 49 of file class.ilChartLegend.php.
References $position.
Referenced by parseOptions().
ilChartLegend::parseOptions | ( | stdClass | $a_options | ) |
Convert (global) properties to flot config.
Definition at line 142 of file class.ilChartLegend.php.
References $container, getBackground(), getColumns(), getContainer(), getLabelBorder(), getMargin(), getOpacity(), getPosition(), and ilChart\renderColor().
ilChartLegend::setBackground | ( | string | $a_color | ) |
Set background color.
Definition at line 84 of file class.ilChartLegend.php.
References ilChart\isValidColor().
Referenced by __construct().
ilChartLegend::setColumns | ( | int | $a_value | ) |
Set number of columns.
Definition at line 57 of file class.ilChartLegend.php.
Referenced by __construct().
ilChartLegend::setContainer | ( | string | $a_value | ) |
Set container id.
Definition at line 126 of file class.ilChartLegend.php.
ilChartLegend::setLabelBorder | ( | string | $a_color | ) |
Definition at line 111 of file class.ilChartLegend.php.
References ilChart\isValidColor().
Referenced by __construct().
ilChartLegend::setMargin | ( | int | $a_x, |
int | $a_y | ||
) |
Definition at line 70 of file class.ilChartLegend.php.
Referenced by __construct().
ilChartLegend::setOpacity | ( | float | $a_value | ) |
Definition at line 99 of file class.ilChartLegend.php.
Referenced by __construct().
ilChartLegend::setPosition | ( | string | $a_position | ) |
Definition at line 41 of file class.ilChartLegend.php.
Referenced by __construct(), and ilChartPie\parseGlobalOptions().
|
protected |
Definition at line 26 of file class.ilChartLegend.php.
Referenced by getBackground().
|
protected |
Definition at line 28 of file class.ilChartLegend.php.
Referenced by getLabelBorder().
|
protected |
Definition at line 23 of file class.ilChartLegend.php.
Referenced by getColumns().
|
protected |
Definition at line 29 of file class.ilChartLegend.php.
Referenced by getContainer(), and parseOptions().
|
protected |
Definition at line 24 of file class.ilChartLegend.php.
|
protected |
Definition at line 25 of file class.ilChartLegend.php.
|
protected |
Definition at line 27 of file class.ilChartLegend.php.
Referenced by getOpacity().
|
protected |
Definition at line 22 of file class.ilChartLegend.php.
Referenced by getPosition().