|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Chart data pie series. More...
Inheritance diagram for ilChartDataPie:
Collaboration diagram for ilChartDataPie:Public Member Functions | |
| setLineWidth ($a_value) | |
| Set line width. More... | |
| getLineWidth () | |
| Get line width. More... | |
| setLabelRadius ($a_value) | |
| Sets the radius at which to place the labels. More... | |
| getLabelRadius () | |
| addPoint ($a_value, $a_caption=null) | |
| Set data. 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... | |
Public Member Functions inherited from ilChartData | |
| 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... | |
Protected Member Functions inherited from ilChartData | |
| getTypeString () | |
| Get series type. More... | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. More... | |
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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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, $series, getLabelRadius(), getTypeString(), and ilChartData\isHidden().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().