4 include_once
"Services/Chart/classes/class.ilChartData.php";
32 $this->line_width = (int)$a_value;
52 public function setBarOptions($a_width, $a_align =
"center", $a_horizontal =
false)
54 $this->bar_width = (float)str_replace(
",",
".", $a_width);
55 if(in_array((
string)$a_align,
array(
"center",
"left")))
57 $this->bar_align = (
string)$a_align;
59 $this->bar_horizontal = (bool)$a_horizontal;
67 $a_options[
"lineWidth"] = $width;
74 if($this->bar_horizontal)
76 $a_options[
"horizontal"] =
true;
getLineWidth()
Get line width.
Add rich text string
The name of the decorator.
setBarOptions($a_width, $a_align="center", $a_horizontal=false)
Set bar options.
parseDataOptions(array &$a_options)
Create styles array
The data for the language used.
setLineWidth($a_value)
Set line width.
Abstract chart data series base class.