|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Chart data bars series. More...
Inheritance diagram for ilChartDataBars:
Collaboration diagram for ilChartDataBars:Public Member Functions | |
| setLineWidth ($a_value) | |
| Set line width. More... | |
| getLineWidth () | |
| Get line width. More... | |
| setBarOptions ($a_width, $a_align="center", $a_horizontal=false) | |
| Set bar options. 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... | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. More... | |
| getTypeString () | |
| Get series type. More... | |
| parseDataOptions (array &$a_options) | |
| Convert data options to flot config. More... | |
Protected Attributes | |
| $line_width | |
| $bar_width | |
| $bar_align | |
| $bar_horizontal | |
Protected Attributes inherited from ilChartData | |
| $type | |
| $label | |
| $data | |
| $fill | |
| $fill_color | |
| $hidden | |
| ilChartDataBars::getLineWidth | ( | ) |
Get line width.
Definition at line 40 of file class.ilChartDataBars.php.
References $line_width.
Referenced by parseDataOptions().
Here is the caller graph for this function:
|
protected |
Get series type.
Reimplemented from ilChartData.
Definition at line 20 of file class.ilChartDataBars.php.
|
protected |
Convert data options to flot config.
| array | $a_options | |
| ilChart | $a_chart |
Reimplemented from ilChartData.
Definition at line 61 of file class.ilChartDataBars.php.
References $bar_align, $bar_width, and getLineWidth().
Here is the call graph for this function:| ilChartDataBars::setBarOptions | ( | $a_width, | |
$a_align = "center", |
|||
$a_horizontal = false |
|||
| ) |
Set bar options.
| float | $a_width | |
| string | $a_align | |
| bool | $a_horizontal |
Definition at line 52 of file class.ilChartDataBars.php.
| ilChartDataBars::setLineWidth | ( | $a_value | ) |
Set line width.
| int | $a_value |
Definition at line 30 of file class.ilChartDataBars.php.
|
protected |
Definition at line 17 of file class.ilChartDataBars.php.
Referenced by parseDataOptions().
|
protected |
Definition at line 18 of file class.ilChartDataBars.php.
|
protected |
Definition at line 16 of file class.ilChartDataBars.php.
Referenced by parseDataOptions().
|
protected |
Definition at line 15 of file class.ilChartDataBars.php.
Referenced by getLineWidth().