|
ILIAS
Release_5_0_x_branch Revision 61816
|
Abstract chart data series base class. More...
Inheritance diagram for ilChartData:
Collaboration diagram for ilChartData:Public Member Functions | |
| setHidden ($a_value) | |
| Set hidden. | |
| isHidden () | |
| Is hidden? | |
| setLabel ($a_value) | |
| Set label. | |
| getLabel () | |
| Get label. | |
| addPoint ($a_x, $a_y=null) | |
| Set data. | |
| getData () | |
| Get data. | |
| setFill ($a_value, $a_color=null) | |
| Set fill. | |
| getFill () | |
| Get fill. | |
| parseData (array &$a_data) | |
| Convert data to flot config. | |
| parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
| Convert (global) properties to flot config. | |
Protected Member Functions | |
| getTypeString () | |
| Get series type. | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. | |
Protected Attributes | |
| $type | |
| $label | |
| $data | |
| $fill | |
| $fill_color | |
| $hidden | |
Abstract chart data series base class.
Definition at line 11 of file class.ilChartData.php.
| ilChartData::addPoint | ( | $a_x, | |
$a_y = null |
|||
| ) |
Set data.
| float | $a_x | |
| float | $a_y |
Reimplemented in ilChartDataPie.
Definition at line 73 of file class.ilChartData.php.
| ilChartData::getData | ( | ) |
Get data.
Definition at line 90 of file class.ilChartData.php.
References $data.
Referenced by parseData().
Here is the caller graph for this function:| ilChartData::getFill | ( | ) |
Get fill.
Definition at line 115 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData(), and parseData().
Here is the caller graph for this function:| ilChartData::getLabel | ( | ) |
Get label.
Definition at line 62 of file class.ilChartData.php.
References $label.
Referenced by parseData().
Here is the caller graph for this function:
|
abstractprotected |
Get series type.
Reimplemented in ilChartDataBars, ilChartDataLines, ilChartDataPie, ilChartDataPoints, and ilChartDataSpider.
Referenced by parseData().
Here is the caller graph for this function:| ilChartData::isHidden | ( | ) |
Is hidden?
Definition at line 42 of file class.ilChartData.php.
References $hidden.
Referenced by ilChartDataPie\parseData(), and parseData().
Here is the caller graph for this function:| ilChartData::parseData | ( | array & | $a_data | ) |
Convert data to flot config.
| array | $a_data |
Reimplemented in ilChartDataPie, and ilChartDataSpider.
Definition at line 137 of file class.ilChartData.php.
References $fill, $options, getData(), getFill(), getLabel(), getTypeString(), isHidden(), parseDataOptions(), and ilChart\renderColor().
Here is the call graph for this function:
|
protected |
Convert data options to flot config.
| array | $a_options | |
| ilChart | $a_chart |
Reimplemented in ilChartDataLines, ilChartDataPoints, and ilChartDataBars.
Definition at line 126 of file class.ilChartData.php.
Referenced by parseData().
Here is the caller graph for this function:| ilChartData::parseGlobalOptions | ( | stdClass | $a_options, |
| ilChart | $a_chart | ||
| ) |
Convert (global) properties to flot config.
| object | $a_options | |
| ilChart | $a_chart |
Reimplemented in ilChartDataPie, and ilChartDataSpider.
Definition at line 173 of file class.ilChartData.php.
| ilChartData::setFill | ( | $a_value, | |
$a_color = null |
|||
| ) |
Set fill.
| float | $a_value | |
| string | $a_color |
Definition at line 101 of file class.ilChartData.php.
References ilChart\isValidColor().
Here is the call graph for this function:| ilChartData::setHidden | ( | $a_value | ) |
Set hidden.
| bool | $a_value |
Definition at line 32 of file class.ilChartData.php.
| ilChartData::setLabel | ( | $a_value | ) |
Set label.
| string | $a_value |
Definition at line 52 of file class.ilChartData.php.
|
protected |
Definition at line 15 of file class.ilChartData.php.
Referenced by getData().
|
protected |
Definition at line 16 of file class.ilChartData.php.
Referenced by ilChartDataSpider\parseData(), and parseData().
|
protected |
Definition at line 17 of file class.ilChartData.php.
|
protected |
Definition at line 18 of file class.ilChartData.php.
Referenced by isHidden().
|
protected |
Definition at line 14 of file class.ilChartData.php.
Referenced by getLabel(), and ilChartDataSpider\parseGlobalOptions().
|
protected |
Definition at line 13 of file class.ilChartData.php.