repo.or.cz
/
openemr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added a graphing functionality with Open Flash Chart, and added ability to graph...
[openemr.git]
/
library
/
openflashchart
/
php-ofc-library
/
ofc_shape.php
blob
0cfe39f9bc4f173b8b15bd610d133d951edadfc0
1
<
?php
2
3
class
shape_point
4
{
5
function
shape_point
(
$x
,
$y
)
6
{
7
$this
->
x
=
$x
;
8
$this
->
y
=
$y
;
9
}
10
}
11
12
class
shape
13
{
14
function
shape
(
$colour
)
15
{
16
$this
->
type
=
"shape"
;
17
$this
->
colour
=
$colour
;
18
$this
->
values
=
array
();
19
}
20
21
function
append_value
(
$p
)
22
{
23
$this
->
values
[] =
$p
;
24
}
25
}