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"))) {
56 $this->bar_align = (
string) $a_align;
58 $this->bar_horizontal = (bool) $a_horizontal;
64 if ($width !== null) {
65 $a_options[
"lineWidth"] = $width;
68 if ($this->bar_width) {
71 if ($this->bar_horizontal) {
72 $a_options[
"horizontal"] =
true;
getLineWidth()
Get line width.
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.