ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Generator for spider charts. More...
Public Member Functions | |
getDataInstance ($a_type=null) | |
setLegLabels ($a_val) | |
Set leg labels. More... | |
getLegLabels () | |
Get leg labels. More... | |
setYAxisMax ($a_val) | |
Set y axis max value. More... | |
getYAxisMax () | |
Get y axis max value. More... | |
parseGlobalOptions (stdClass $a_options) | |
Public Member Functions inherited from ilChart | |
getDataInstance ($a_type=null) | |
Get data series instance. More... | |
setSize ($a_x, $a_y) | |
Set chart size. More... | |
addData (ilChartData $a_series, $a_idx=null) | |
Add data series. More... | |
setLegend (ilChartLegend $a_legend) | |
Set chart legend. More... | |
setColors ($a_values) | |
Set colors. More... | |
getColors () | |
Get colors. More... | |
setShadow ($a_value) | |
Set shadow. More... | |
getShadow () | |
Get shadow. More... | |
setAutoResize ($a_value) | |
Toggle auto-resizing on window resize/redraw. More... | |
setStacked ($a_value) | |
Toggle stacking. More... | |
parseGlobalOptions (stdClass $a_options) | |
Convert (global) properties to flot config. More... | |
getHTML () | |
Render. More... | |
Protected Member Functions | |
isValidDataType (ilChartData $a_series) | |
addCustomJS () | |
Protected Member Functions inherited from ilChart | |
__construct ($a_id) | |
Constructor. More... | |
isValidDataType (ilChartData $a_series) | |
Validate data series. More... | |
isValid () | |
Basic validation. More... | |
initJS () | |
Init JS script files. More... | |
addCustomJS () | |
Add type-specific JS script. More... | |
Protected Attributes | |
$leg_labels = array() | |
$y_max = 0 | |
Protected Attributes inherited from ilChart | |
$id | |
$width | |
$height | |
$data | |
$legend | |
$shadow | |
$colors | |
$auto_resize | |
$stacked | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilChart | |
static | getInstanceByType ($a_type, $a_id) |
Get type instance. More... | |
static | isValidColor ($a_value) |
Validate html color code. More... | |
static | renderColor ($a_value, $a_opacity=1) |
Render html color code. More... | |
Data Fields inherited from ilChart | |
const | TYPE_GRID = 1 |
const | TYPE_PIE = 2 |
const | TYPE_SPIDER = 3 |
|
protected |
ilChartSpider::getDataInstance | ( | $a_type = null | ) |
Definition at line 18 of file class.ilChartSpider.php.
ilChartSpider::getLegLabels | ( | ) |
Get leg labels.
Definition at line 44 of file class.ilChartSpider.php.
References $leg_labels.
ilChartSpider::getYAxisMax | ( | ) |
Get y axis max value.
Definition at line 65 of file class.ilChartSpider.php.
References $y_max.
Referenced by parseGlobalOptions().
|
protected |
Definition at line 24 of file class.ilChartSpider.php.
ilChartSpider::parseGlobalOptions | ( | stdClass | $a_options | ) |
Definition at line 78 of file class.ilChartSpider.php.
References getYAxisMax(), and ilChart\renderColor().
ilChartSpider::setLegLabels | ( | $a_val | ) |
Set leg labels.
array | $a_val | leg labels (array of strings) |
Definition at line 34 of file class.ilChartSpider.php.
ilChartSpider::setYAxisMax | ( | $a_val | ) |
Set y axis max value.
float | $a_val | y axis max value |
Definition at line 55 of file class.ilChartSpider.php.
|
protected |
Definition at line 15 of file class.ilChartSpider.php.
Referenced by getLegLabels().
|
protected |
Definition at line 16 of file class.ilChartSpider.php.
Referenced by getYAxisMax().