ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Chart legend. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
setPosition ($a_position) | |
Set Position. More... | |
getPosition () | |
Get Position. More... | |
setColumns ($a_value) | |
Set number of columns. More... | |
getColumns () | |
Get number of columns. More... | |
setMargin ($a_x, $a_y) | |
Set margins. More... | |
getMargin () | |
Get margins. More... | |
setBackground ($a_color) | |
Set background color. More... | |
getBackground () | |
Get background color. More... | |
setOpacity ($a_value) | |
Set Opacity. More... | |
getOpacity () | |
Get opacity. More... | |
setLabelBorder ($a_color) | |
Set label border. More... | |
getLabelBorder () | |
Get label border. More... | |
setContainer ($a_value) | |
Set container id. More... | |
getContainer () | |
Get container id. More... | |
parseOptions (stdClass $a_options) | |
Convert (global) properties to flot config. More... | |
Protected Attributes | |
$position | |
$columns | |
$margin_x | |
$margin_y | |
$background | |
$opacity | |
$border | |
$container | |
ilChartLegend::__construct | ( | ) |
Constructor.
Definition at line 25 of file class.ilChartLegend.php.
References setBackground(), setColumns(), setLabelBorder(), setMargin(), setOpacity(), and setPosition().
ilChartLegend::getBackground | ( | ) |
Get background color.
Definition at line 119 of file class.ilChartLegend.php.
References $background.
Referenced by parseOptions().
ilChartLegend::getColumns | ( | ) |
Get number of columns.
Definition at line 74 of file class.ilChartLegend.php.
References $columns.
Referenced by parseOptions().
ilChartLegend::getContainer | ( | ) |
Get container id.
Definition at line 186 of file class.ilChartLegend.php.
References $container.
Referenced by parseOptions().
ilChartLegend::getLabelBorder | ( | ) |
Get label border.
Definition at line 166 of file class.ilChartLegend.php.
References $border.
Referenced by parseOptions().
ilChartLegend::getMargin | ( | ) |
Get margins.
Definition at line 96 of file class.ilChartLegend.php.
References array.
Referenced by parseOptions().
ilChartLegend::getOpacity | ( | ) |
Get opacity.
Definition at line 143 of file class.ilChartLegend.php.
References $opacity.
Referenced by parseOptions().
ilChartLegend::getPosition | ( | ) |
Get Position.
Definition at line 54 of file class.ilChartLegend.php.
References $position.
Referenced by parseOptions().
ilChartLegend::parseOptions | ( | stdClass | $a_options | ) |
Convert (global) properties to flot config.
object | $a_options |
Definition at line 196 of file class.ilChartLegend.php.
References $container, array, getBackground(), getColumns(), getContainer(), getLabelBorder(), getMargin(), getOpacity(), getPosition(), and ilChart\renderColor().
ilChartLegend::setBackground | ( | $a_color | ) |
Set background color.
string | $a_color |
Definition at line 106 of file class.ilChartLegend.php.
References ilChart\isValidColor().
Referenced by __construct().
ilChartLegend::setColumns | ( | $a_value | ) |
Set number of columns.
int | $a_value |
Definition at line 64 of file class.ilChartLegend.php.
References columns.
Referenced by __construct().
ilChartLegend::setContainer | ( | $a_value | ) |
ilChartLegend::setLabelBorder | ( | $a_color | ) |
Set label border.
string | $a_color |
Definition at line 153 of file class.ilChartLegend.php.
References ilChart\isValidColor().
Referenced by __construct().
ilChartLegend::setMargin | ( | $a_x, | |
$a_y | |||
) |
Set margins.
int | $a_x | |
int | $a_y |
Definition at line 85 of file class.ilChartLegend.php.
Referenced by __construct().
ilChartLegend::setOpacity | ( | $a_value | ) |
Set Opacity.
float | $a_value |
Definition at line 129 of file class.ilChartLegend.php.
Referenced by __construct().
ilChartLegend::setPosition | ( | $a_position | ) |
Set Position.
string | $position |
Definition at line 40 of file class.ilChartLegend.php.
Referenced by __construct().
|
protected |
Definition at line 17 of file class.ilChartLegend.php.
Referenced by getBackground().
|
protected |
Definition at line 19 of file class.ilChartLegend.php.
Referenced by getLabelBorder().
|
protected |
Definition at line 14 of file class.ilChartLegend.php.
Referenced by getColumns().
|
protected |
Definition at line 20 of file class.ilChartLegend.php.
Referenced by getContainer(), and parseOptions().
|
protected |
Definition at line 15 of file class.ilChartLegend.php.
|
protected |
Definition at line 16 of file class.ilChartLegend.php.
|
protected |
Definition at line 18 of file class.ilChartLegend.php.
Referenced by getOpacity().
|
protected |
Definition at line 13 of file class.ilChartLegend.php.
Referenced by getPosition().