| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilChartDataPie:
 Collaboration diagram for ilChartDataPie:Public Member Functions | |
| setLineWidth (int $a_value) | |
| getLineWidth () | |
| setLabelRadius (float $a_value) | |
| Sets the radius at which to place the labels.  More... | |
| getLabelRadius () | |
| addPiePoint (int $a_value, string $a_caption=null) | |
| parseData (array &$a_data) | |
| parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
  Public Member Functions inherited from ilChartData | |
| setHidden (bool $a_value) | |
| isHidden () | |
| setLabel (string $a_value) | |
| getLabel () | |
| addPoint (float $a_x, ?float $a_y=null) | |
| Set data.  More... | |
| getData () | |
| Get data.  More... | |
| setFill (float $a_value, string $a_color="") | |
| getFill () | |
| 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 () | |
  Protected Member Functions inherited from ilChartData | |
| getTypeString () | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config.  More... | |
Protected Attributes | |
| int | $line_width = 0 | 
| float | $label_radius = 0 | 
  Protected Attributes inherited from ilChartData | |
| string | $type = "" | 
| string | $label = "" | 
| array | $data = [] | 
| float | $fill = 0 | 
| string | $fill_color = "" | 
| bool | $hidden = false | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too. If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Chart data pie series
Definition at line 20 of file class.ilChartDataPie.php.
| ilChartDataPie::addPiePoint | ( | int | $a_value, | 
| string | $a_caption = null  | 
        ||
| ) | 
Definition at line 55 of file class.ilChartDataPie.php.
| ilChartDataPie::getLabelRadius | ( | ) | 
Definition at line 50 of file class.ilChartDataPie.php.
References $label_radius.
Referenced by parseData(), and parseGlobalOptions().
 Here is the caller graph for this function:| ilChartDataPie::getLineWidth | ( | ) | 
Definition at line 35 of file class.ilChartDataPie.php.
References $line_width.
Referenced by parseGlobalOptions().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 25 of file class.ilChartDataPie.php.
Referenced by parseData().
 Here is the caller graph for this function:| ilChartDataPie::parseData | ( | array & | $a_data | ) | 
Definition at line 60 of file class.ilChartDataPie.php.
References getLabelRadius(), getTypeString(), and ilChartData\isHidden().
 Here is the call graph for this function:| ilChartDataPie::parseGlobalOptions | ( | stdClass | $a_options, | 
| ilChart | $a_chart | ||
| ) | 
Definition at line 81 of file class.ilChartDataPie.php.
References ilChartData\$fill, ilChartData\getFill(), getLabelRadius(), getLineWidth(), and ilChart\renderColor().
 Here is the call graph for this function:| ilChartDataPie::setLabelRadius | ( | float | $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.
Definition at line 45 of file class.ilChartDataPie.php.
| ilChartDataPie::setLineWidth | ( | int | $a_value | ) | 
Definition at line 30 of file class.ilChartDataPie.php.
      
  | 
  protected | 
Definition at line 23 of file class.ilChartDataPie.php.
Referenced by getLabelRadius().
      
  | 
  protected | 
Definition at line 22 of file class.ilChartDataPie.php.
Referenced by getLineWidth().