ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Abstract chart data series base class. More...
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 |
|||
) |
ilChartData::getData | ( | ) |
Get data.
Definition at line 90 of file class.ilChartData.php.
References $data.
Referenced by parseData().
ilChartData::getFill | ( | ) |
Get fill.
Definition at line 115 of file class.ilChartData.php.
References array.
Referenced by ilChartDataSpider\parseData(), parseData(), and ilChartDataPie\parseGlobalOptions().
ilChartData::getLabel | ( | ) |
Get label.
Definition at line 62 of file class.ilChartData.php.
References $label.
Referenced by parseData().
|
abstractprotected |
Get series type.
Referenced by parseData().
ilChartData::isHidden | ( | ) |
Is hidden?
Definition at line 42 of file class.ilChartData.php.
References $hidden.
Referenced by ilChartDataPie\parseData(), and parseData().
ilChartData::parseData | ( | array & | $a_data | ) |
Convert data to flot config.
array | $a_data |
Definition at line 137 of file class.ilChartData.php.
References $fill, $options, $series, array, getData(), getFill(), getLabel(), getTypeString(), isHidden(), parseDataOptions(), and ilChart\renderColor().
|
protected |
Convert data options to flot config.
array | $a_options | |
ilChart | $a_chart |
Definition at line 126 of file class.ilChartData.php.
Referenced by parseData().
ilChartData::parseGlobalOptions | ( | stdClass | $a_options, |
ilChart | $a_chart | ||
) |
Convert (global) properties to flot config.
object | $a_options | |
ilChart | $a_chart |
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().
ilChartData::setHidden | ( | $a_value | ) |
ilChartData::setLabel | ( | $a_value | ) |
Set label.
string | $a_value |
Definition at line 52 of file class.ilChartData.php.
References string.
|
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(), parseData(), and ilChartDataPie\parseGlobalOptions().
|
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.