diff --git a/libchart/classes/view/chart/Chart.php b/libchart/classes/view/chart/Chart.php index da0515a..2220eea 100644 --- a/libchart/classes/view/chart/Chart.php +++ b/libchart/classes/view/chart/Chart.php @@ -51,7 +51,7 @@ abstract class Chart { * @param integer width of the image * @param integer height of the image */ - protected function Chart($width, $height) { + protected function __construct($width, $height) { // Initialize the configuration $this->config = new ChartConfig(); @@ -116,4 +116,4 @@ public function setTitle($title) { $this->plot->setTitle($title); } } -?> \ No newline at end of file +?>