Chart data bars series.
More...
◆ getLineWidth()
ilChartDataBars::getLineWidth |
( |
| ) |
|
◆ getTypeString()
ilChartDataBars::getTypeString |
( |
| ) |
|
|
protected |
◆ parseDataOptions()
ilChartDataBars::parseDataOptions |
( |
array & |
$a_options | ) |
|
|
protected |
◆ setBarOptions()
ilChartDataBars::setBarOptions |
( |
|
$a_width, |
|
|
|
$a_align = "center" , |
|
|
|
$a_horizontal = false |
|
) |
| |
Set bar options.
- Parameters
-
float | $a_width | |
string | $a_align | |
bool | $a_horizontal | |
Definition at line 52 of file class.ilChartDataBars.php.
References array, and string.
54 $this->bar_width = (float) str_replace(
",",
".", $a_width);
55 if (in_array((
string) $a_align,
array(
"center",
"left"))) {
56 $this->bar_align = (
string) $a_align;
58 $this->bar_horizontal = (bool) $a_horizontal;
Create styles array
The data for the language used.
◆ setLineWidth()
ilChartDataBars::setLineWidth |
( |
|
$a_value | ) |
|
◆ $bar_align
ilChartDataBars::$bar_align |
|
protected |
◆ $bar_horizontal
ilChartDataBars::$bar_horizontal |
|
protected |
◆ $bar_width
ilChartDataBars::$bar_width |
|
protected |
◆ $line_width
ilChartDataBars::$line_width |
|
protected |
The documentation for this class was generated from the following file: