ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 |
|||
) |
Set data.
float | $a_x | |
float | $a_y |
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().
ilChartData::getFill | ( | ) |
Get fill.
Definition at line 111 of file class.ilChartData.php.
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 132 of file class.ilChartData.php.
References $fill, PHPMailer\PHPMailer\$options, 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 122 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 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().
ilChartData::setHidden | ( | $a_value | ) |
ilChartData::setLabel | ( | $a_value | ) |
|
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.