diff --git a/libchart/classes/model/XYDataSet.php b/libchart/classes/model/XYDataSet.php index 5685f11..97850cd 100644 --- a/libchart/classes/model/XYDataSet.php +++ b/libchart/classes/model/XYDataSet.php @@ -30,7 +30,7 @@ class XYDataSet extends DataSet { * Constructor of XYDataSet. * */ - public function XYDataSet() { + public function __construct() { $this->pointList = array(); } @@ -53,4 +53,4 @@ public function getPointList() { return $this->pointList; } } -?> \ No newline at end of file +?>