summaryrefslogtreecommitdiffstats
path: root/src/structs
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-23 16:18:27 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-23 16:18:27 +0000
commita5476184b65f07f983d9f676d74550bcfe1925d6 (patch)
tree26986aca1e727fee06a1fe375ee4312669fc6f22 /src/structs
parentfd76465a079bf1a8b4b85e6f80431fcae81919f9 (diff)
downloadzetacomponents-graph-a5476184b65f07f983d9f676d74550bcfe1925d6.zip
zetacomponents-graph-a5476184b65f07f983d9f676d74550bcfe1925d6.tar.gz
- Implemented tests for line chart legend rendering
- Implemented legend rendering
Diffstat (limited to 'src/structs')
-rw-r--r--src/structs/coordinate.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/structs/coordinate.php b/src/structs/coordinate.php
index 10ec1c3..d7093d4 100644
--- a/src/structs/coordinate.php
+++ b/src/structs/coordinate.php
@@ -9,8 +9,10 @@ class ezcGraphCoordinate
/**
* Empty constructor
*/
- public function __construct()
+ public function __construct( $x, $y )
{
+ $this->x = $x;
+ $this->y = $y;
}
/**
OpenPOWER on IntegriCloud