ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilChartDataPoints.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
ilChartDataPoints
extends
ilChartData
14
{
15
protected
$line_width
;
// [int]
16
protected
$radius
;
// [int] points
17
18
protected
function
getTypeString
()
19
{
20
return
"points"
;
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
setPointRadius
($a_value)
49
{
50
$this->radius = (int)$a_value;
51
}
52
58
public
function
getPointRadius
()
59
{
60
return
$this->radius
;
61
}
62
63
protected
function
parseDataOptions
(array &$a_options)
64
{
65
$width = $this->
getLineWidth
();
66
if
($width !== null)
67
{
68
$a_options[
"lineWidth"
] = $width;
69
}
70
71
$radius
= $this->
getPointRadius
();
72
if
(
$radius
!== null)
73
{
74
$a_options[
"radius"
] =
$radius
;
75
}
76
}
77
}
78
79
?>
Services
Chart
classes
class.ilChartDataPoints.php
Generated on Wed Apr 27 2016 21:01:32 for ILIAS by
1.8.1.2 (using
Doxyfile
)