|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Abstract chart data series base class. More...
Inheritance diagram for ilChartData:
Collaboration diagram for ilChartData:Public Member Functions | |
| setHidden ($a_value) | |
| Set hidden. More... | |
| isHidden () | |
| Is hidden? More... | |
| setLabel ($a_value) | |
| Set label. More... | |
| getLabel () | |
| Get label. More... | |
| addPoint ($a_x, $a_y=null) | |
| Set data. More... | |
| getData () | |
| Get data. More... | |
| setFill ($a_value, $a_color=null) | |
| Set fill. More... | |
| getFill () | |
| Get fill. More... | |
| parseData (array &$a_data) | |
| Convert data to flot config. More... | |
| parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
| Convert (global) properties to flot config. More... | |
Protected Member Functions | |
| getTypeString () | |
| Get series type. More... | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. More... | |
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.
References data.
| ilChartData::getData | ( | ) |
Get data.
Definition at line 87 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 111 of file class.ilChartData.php.
Referenced by parseData(), and ilChartDataSpider\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 parseData(), and ilChartDataPie\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 132 of file class.ilChartData.php.
References $fill, $options, $series, 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 ilChartDataBars, ilChartDataLines, and ilChartDataPoints.
Definition at line 122 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 165 of file class.ilChartData.php.
| ilChartData::setFill | ( | $a_value, | |
$a_color = null |
|||
| ) |
Set fill.
| float | $a_value | |
| string | $a_color |
Definition at line 98 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 parseData(), and ilChartDataSpider\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.