ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilChartDataLines.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
"Services/Chart/classes/class.ilChartData.php"
;
5
13
class
ilChartDataLines
extends
ilChartData
14
{
15
protected
$line_width
;
// [int]
16
protected
$steps
;
// [bool] lines
17
18
protected
function
getTypeString
()
19
{
20
return
"lines"
;
21
}
22
28
public
function
setLineWidth
($a_value)
29
{
30
$this->line_width = (int) $a_value;
31
}
32
38
public
function
getLineWidth
()
39
{
40
return
$this->line_width
;
41
}
42
48
public
function
setLineSteps
($a_value)
49
{
50
$this->steps = (bool) $a_value;
51
}
52
58
public
function
getLineSteps
()
59
{
60
return
$this->steps
;
61
}
62
63
protected
function
parseDataOptions
(
array
&$a_options)
64
{
65
$width = $this->
getLineWidth
();
66
if
($width !== null) {
67
$a_options[
"lineWidth"
] = $width;
68
}
69
70
if
($this->
getLineSteps
()) {
71
$a_options[
"steps"
] =
true
;
72
}
73
}
74
}
ilChartDataLines\$steps
$steps
Definition:
class.ilChartDataLines.php:16
ilChartDataLines\parseDataOptions
parseDataOptions(array &$a_options)
Definition:
class.ilChartDataLines.php:63
ilChartDataLines\setLineWidth
setLineWidth($a_value)
Set line width.
Definition:
class.ilChartDataLines.php:28
ilChartDataLines\getLineSteps
getLineSteps()
Get line steps.
Definition:
class.ilChartDataLines.php:58
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilChartDataLines\$line_width
$line_width
Definition:
class.ilChartDataLines.php:15
ilChartDataLines
Chart data lines series.
Definition:
class.ilChartDataLines.php:13
ilChartDataLines\setLineSteps
setLineSteps($a_value)
Set line steps.
Definition:
class.ilChartDataLines.php:48
ilChartDataLines\getTypeString
getTypeString()
Definition:
class.ilChartDataLines.php:18
ilChartData
Abstract chart data series base class.
Definition:
class.ilChartData.php:11
ilChartDataLines\getLineWidth
getLineWidth()
Get line width.
Definition:
class.ilChartDataLines.php:38
Services
Chart
classes
class.ilChartDataLines.php
Generated on Sat Jan 18 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)