ILIAS
Release_5_0_x_branch Revision 61816
|
Chart data pie series. More...
Public Member Functions | |
setLineWidth ($a_value) | |
Set line width. | |
getLineWidth () | |
Get line width. | |
setLabelRadius ($a_value) | |
Sets the radius at which to place the labels. | |
getLabelRadius () | |
addPoint ($a_value, $a_caption=null) | |
Set data. | |
parseData (array &$a_data) | |
Convert data to flot config. | |
parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
Convert (global) properties to flot config. | |
Public Member Functions inherited from ilChartData | |
setHidden ($a_value) | |
Set hidden. | |
isHidden () | |
Is hidden? | |
setLabel ($a_value) | |
Set label. | |
getLabel () | |
Get label. | |
getData () | |
Get data. | |
setFill ($a_value, $a_color=null) | |
Set fill. | |
getFill () | |
Get fill. |
Protected Member Functions | |
getTypeString () | |
Get series type. | |
Protected Member Functions inherited from ilChartData | |
parseDataOptions (array &$a_options) | |
Convert data options to flot config. |
Protected Attributes | |
$line_width | |
$label_radius | |
Protected Attributes inherited from ilChartData | |
$type | |
$label | |
$data | |
$fill | |
$fill_color | |
$hidden |
ilChartDataPie::addPoint | ( | $a_x, | |
$a_y = null |
|||
) |
Set data.
float | $a_x | |
float | $a_y |
Reimplemented from ilChartData.
Definition at line 64 of file class.ilChartDataPie.php.
ilChartDataPie::getLabelRadius | ( | ) |
Definition at line 59 of file class.ilChartDataPie.php.
References $label_radius.
Referenced by parseData().
ilChartDataPie::getLineWidth | ( | ) |
Get line width.
Definition at line 38 of file class.ilChartDataPie.php.
References $line_width.
|
protected |
Get series type.
Reimplemented from ilChartData.
Definition at line 18 of file class.ilChartDataPie.php.
Referenced by parseData().
ilChartDataPie::parseData | ( | array & | $a_data | ) |
Convert data to flot config.
array | $a_data |
Reimplemented from ilChartData.
Definition at line 69 of file class.ilChartDataPie.php.
References $options, getLabelRadius(), getTypeString(), and ilChartData\isHidden().
ilChartDataPie::parseGlobalOptions | ( | stdClass | $a_options, |
ilChart | $a_chart | ||
) |
Convert (global) properties to flot config.
object | $a_options | |
ilChart | $a_chart |
Reimplemented from ilChartData.
Definition at line 92 of file class.ilChartDataPie.php.
References ilChart\renderColor().
ilChartDataPie::setLabelRadius | ( | $a_value | ) |
Sets the radius at which to place the labels.
If value is between 0 and 1 (inclusive) then it will use that as a percentage of the available space (size of the container), otherwise it will use the value as a direct pixel length.
mixed | $a_value |
Definition at line 51 of file class.ilChartDataPie.php.
ilChartDataPie::setLineWidth | ( | $a_value | ) |
Set line width.
int | $a_value |
Definition at line 28 of file class.ilChartDataPie.php.
|
protected |
Definition at line 16 of file class.ilChartDataPie.php.
Referenced by getLabelRadius().
|
protected |
Definition at line 15 of file class.ilChartDataPie.php.
Referenced by getLineWidth().