ILIAS
Release_4_4_x_branch Revision 61816
|
Chart data series. More...
Public Member Functions | |
__construct ($a_type) | |
Constructor. | |
setType ($a_value) | |
Set type. | |
getType () | |
Get type. | |
setHidden ($a_value) | |
Set hidden. | |
isHidden () | |
Is hidden? | |
isValidType ($a_value) | |
Is given type valid? | |
setLabel ($a_value) | |
Set label. | |
getLabel () | |
Get label. | |
addPoint ($a_x, $a_y=null) | |
Set data. | |
getData () | |
Get data. | |
setLineWidth ($a_value) | |
Set line width. | |
getLineWidth () | |
Get line width. | |
setLineSteps ($a_value) | |
Set line steps. | |
getLineSteps () | |
Get line steps. | |
setBarOptions ($a_width, $a_align="center", $a_horizontal=false) | |
Set bar options. | |
getBarOptions () | |
Get bar options. | |
setPointRadius ($a_value) | |
Set radius. | |
getPointRadius () | |
Get radius. | |
setFill ($a_value, $a_color=null) | |
Set fill. | |
getFill () | |
Get fill. |
Protected Attributes | |
$type | |
$label | |
$data | |
$line_width | |
$bar_width | |
$bar_align | |
$bar_horizontal | |
$radius | |
$steps | |
$fill | |
$fill_color | |
$hidden |
ilChartData::__construct | ( | $a_type | ) |
Constructor.
string | $a_type |
Definition at line 31 of file class.ilChartData.php.
References setType().
ilChartData::addPoint | ( | $a_x, | |
$a_y = null |
|||
) |
Set data.
float | $a_x | |
float | $a_y |
Definition at line 121 of file class.ilChartData.php.
ilChartData::getBarOptions | ( | ) |
Get bar options.
Definition at line 205 of file class.ilChartData.php.
ilChartData::getData | ( | ) |
ilChartData::getFill | ( | ) |
Get fill.
Definition at line 252 of file class.ilChartData.php.
ilChartData::getLabel | ( | ) |
ilChartData::getLineSteps | ( | ) |
Get line steps.
Definition at line 178 of file class.ilChartData.php.
References $steps.
ilChartData::getLineWidth | ( | ) |
Get line width.
Definition at line 158 of file class.ilChartData.php.
References $line_width.
ilChartData::getPointRadius | ( | ) |
ilChartData::getType | ( | ) |
ilChartData::isHidden | ( | ) |
ilChartData::isValidType | ( | $a_value | ) |
Is given type valid?
string | $a_value |
Definition at line 85 of file class.ilChartData.php.
Referenced by setType().
ilChartData::setBarOptions | ( | $a_width, | |
$a_align = "center" , |
|||
$a_horizontal = false |
|||
) |
Set bar options.
float | $a_width | |
string | $a_align | |
bool | $a_horizontal |
Definition at line 190 of file class.ilChartData.php.
ilChartData::setFill | ( | $a_value, | |
$a_color = null |
|||
) |
Set fill.
float | $a_value | |
string | $a_color |
Definition at line 238 of file class.ilChartData.php.
References ilChart\isValidColor().
ilChartData::setHidden | ( | $a_value | ) |
Set hidden.
bool | $a_value |
Definition at line 64 of file class.ilChartData.php.
ilChartData::setLabel | ( | $a_value | ) |
Set label.
string | $a_value |
Definition at line 100 of file class.ilChartData.php.
ilChartData::setLineSteps | ( | $a_value | ) |
Set line steps.
bool | $a_value |
Definition at line 168 of file class.ilChartData.php.
ilChartData::setLineWidth | ( | $a_value | ) |
Set line width.
int | $a_value |
Definition at line 148 of file class.ilChartData.php.
ilChartData::setPointRadius | ( | $a_value | ) |
Set radius.
int | $a_value |
Definition at line 217 of file class.ilChartData.php.
ilChartData::setType | ( | $a_value | ) |
Set type.
string | $a_value |
Definition at line 41 of file class.ilChartData.php.
References isValidType().
Referenced by __construct().
|
protected |
Definition at line 18 of file class.ilChartData.php.
|
protected |
Definition at line 19 of file class.ilChartData.php.
|
protected |
Definition at line 17 of file class.ilChartData.php.
|
protected |
Definition at line 15 of file class.ilChartData.php.
Referenced by getData().
|
protected |
Definition at line 22 of file class.ilChartData.php.
|
protected |
Definition at line 23 of file class.ilChartData.php.
|
protected |
Definition at line 24 of file class.ilChartData.php.
Referenced by isHidden().
|
protected |
Definition at line 14 of file class.ilChartData.php.
Referenced by getLabel().
|
protected |
Definition at line 16 of file class.ilChartData.php.
Referenced by getLineWidth().
|
protected |
Definition at line 20 of file class.ilChartData.php.
Referenced by getPointRadius().
|
protected |
Definition at line 21 of file class.ilChartData.php.
Referenced by getLineSteps().
|
protected |
Definition at line 13 of file class.ilChartData.php.
Referenced by getType().