|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Generator for grid-based charts. More...
Inheritance diagram for ilChartGrid:
Collaboration diagram for ilChartGrid:Public Member Functions | |
| getDataInstance ($a_type=null) | |
| Get data series instance. More... | |
| setTicks ($a_x, $a_y, $a_labeled=false) | |
| Set ticks. More... | |
| getTicks () | |
| Get ticks. More... | |
| setYAxisToInteger ($a_status) | |
| Restrict y-axis to integer values. More... | |
| setXAxisToInteger ($a_status) | |
| Restrict x-axis to integer values. More... | |
| parseGlobalOptions (stdClass $a_options) | |
| Convert (global) properties to flot config. More... | |
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... | |
| parseGlobalOptions (stdClass $a_options) | |
| Convert (global) properties to flot config. More... | |
| getHTML () | |
| Render. More... | |
Data Fields | |
| const | DATA_LINES = 1 |
| const | DATA_BARS = 2 |
| const | DATA_POINTS = 3 |
Data Fields inherited from ilChart | |
| const | TYPE_GRID = 1 |
| const | TYPE_PIE = 2 |
| const | TYPE_SPIDER = 3 |
Protected Member Functions | |
| __construct ($a_id) | |
| Constructor. More... | |
| isValidDataType (ilChartData $a_series) | |
| Validate data series. More... | |
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 | |
| $ticks | |
| $integer_axis | |
Protected Attributes inherited from ilChart | |
| $id | |
| $width | |
| $height | |
| $data | |
| $legend | |
| $shadow | |
| $colors | |
| $auto_resize | |
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... | |
|
protected |
Constructor.
| string | $a_id |
Reimplemented from ilChart.
Definition at line 22 of file class.ilChartGrid.php.
References setXAxisToInteger(), and setYAxisToInteger().
Here is the call graph for this function:| ilChartGrid::getDataInstance | ( | $a_type = null | ) |
Get data series instance.
Reimplemented from ilChart.
Definition at line 30 of file class.ilChartGrid.php.
References DATA_BARS, DATA_LINES, and DATA_POINTS.
| ilChartGrid::getTicks | ( | ) |
Get ticks.
Definition at line 77 of file class.ilChartGrid.php.
References $ticks.
Referenced by parseGlobalOptions().
Here is the caller graph for this function:
|
protected |
Validate data series.
Reimplemented from ilChart.
Definition at line 49 of file class.ilChartGrid.php.
| ilChartGrid::parseGlobalOptions | ( | stdClass | $a_options | ) |
Convert (global) properties to flot config.
| object | $a_options |
Reimplemented from ilChart.
Definition at line 102 of file class.ilChartGrid.php.
References $ticks, and getTicks().
Here is the call graph for this function:| ilChartGrid::setTicks | ( | $a_x, | |
| $a_y, | |||
$a_labeled = false |
|||
| ) |
Set ticks.
| int | array | $a_x | |
| int | array | $a_y | |
| bool | $a_labeled |
Definition at line 67 of file class.ilChartGrid.php.
| ilChartGrid::setXAxisToInteger | ( | $a_status | ) |
Restrict x-axis to integer values.
| bool | $a_status |
Definition at line 97 of file class.ilChartGrid.php.
Referenced by __construct().
Here is the caller graph for this function:| ilChartGrid::setYAxisToInteger | ( | $a_status | ) |
Restrict y-axis to integer values.
| bool | $a_status |
Definition at line 87 of file class.ilChartGrid.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 16 of file class.ilChartGrid.php.
|
protected |
Definition at line 15 of file class.ilChartGrid.php.
Referenced by getTicks(), and parseGlobalOptions().
| const ilChartGrid::DATA_BARS = 2 |
Definition at line 19 of file class.ilChartGrid.php.
Referenced by getDataInstance(), SurveyMetricQuestionGUI\renderChart(), SurveyQuestionGUI\renderChart(), and ilWikiStatGUI\renderGraph().
| const ilChartGrid::DATA_LINES = 1 |
Definition at line 18 of file class.ilChartGrid.php.
Referenced by ilSessionStatisticsGUI\getChart(), getDataInstance(), ilLPObjectStatisticsDailyTableGUI\getGraph(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilLPObjectStatisticsTableGUI\getGraph(), ilLPObjectStatisticsTypesTableGUI\getGraph(), and ilWikiStatGUI\renderGraph().
| const ilChartGrid::DATA_POINTS = 3 |
Definition at line 20 of file class.ilChartGrid.php.
Referenced by getDataInstance().