diff --git a/libchart/classes/view/plot/Plot.php b/libchart/classes/view/plot/Plot.php index 8f420c2..60d9d6f 100644 --- a/libchart/classes/view/plot/Plot.php +++ b/libchart/classes/view/plot/Plot.php @@ -150,7 +150,7 @@ class Plot { * @param integer width of the image * @param integer height of the image */ - public function Plot($width, $height) { + public function __construct($width, $height) { $this->width = $width; $this->height = $height; @@ -464,4 +464,4 @@ public function getTextColor() { return $this->textColor; } } -?> \ No newline at end of file +?>