ILIAS
Release_5_0_x_branch Revision 61816
|
Chart data bars series. More...
Public Member Functions | |
setLineWidth ($a_value) | |
Set line width. | |
getLineWidth () | |
Get line width. | |
setBarOptions ($a_width, $a_align="center", $a_horizontal=false) | |
Set bar options. | |
Public Member Functions inherited from ilChartData | |
setHidden ($a_value) | |
Set hidden. | |
isHidden () | |
Is hidden? | |
setLabel ($a_value) | |
Set label. | |
getLabel () | |
Get label. | |
addPoint ($a_x, $a_y=null) | |
Set data. | |
getData () | |
Get data. | |
setFill ($a_value, $a_color=null) | |
Set fill. | |
getFill () | |
Get fill. | |
parseData (array &$a_data) | |
Convert data to flot config. | |
parseGlobalOptions (stdClass $a_options, ilChart $a_chart) | |
Convert (global) properties to flot config. |
Protected Member Functions | |
getTypeString () | |
Get series type. | |
parseDataOptions (array &$a_options) | |
Convert data options to flot config. |
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().
|
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 62 of file class.ilChartDataBars.php.
References $bar_align, $bar_width, and getLineWidth().
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().