ILIAS
Release_5_0_x_branch Revision 61816
|
Chart legend. More...
Public Member Functions | |
__construct () | |
Constructor. | |
setPosition ($a_position) | |
Set Position. | |
getPosition () | |
Get Position. | |
setColumns ($a_value) | |
Set number of columns. | |
getColumns () | |
Get number of columns. | |
setMargin ($a_x, $a_y) | |
Set margins. | |
getMargin () | |
Get margins. | |
setBackground ($a_color) | |
Set background color. | |
getBackground () | |
Get background color. | |
setOpacity ($a_value) | |
Set Opacity. | |
getOpacity () | |
Get opacity. | |
setLabelBorder ($a_color) | |
Set label border. | |
getLabelBorder () | |
Get label border. | |
setContainer ($a_value) | |
Set container id. | |
getContainer () | |
Get container id. | |
parseOptions (stdClass $a_options) | |
Convert (global) properties to flot config. |
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.
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, 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.
Referenced by __construct().
ilChartLegend::setContainer | ( | $a_value | ) |
Set container id.
string |
Definition at line 176 of file class.ilChartLegend.php.
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().