diff --git a/libchart/classes/model/ChartConfig.php b/libchart/classes/model/ChartConfig.php index 445482d..78805fc 100644 --- a/libchart/classes/model/ChartConfig.php +++ b/libchart/classes/model/ChartConfig.php @@ -47,7 +47,7 @@ class ChartConfig { /** * Creates a new ChartConfig with default options. */ - public function ChartConfig() { + public function __construct() { $this->useMultipleColor = false; $this->showPointCaption = true; $this->sortDataPoint = true; @@ -109,4 +109,4 @@ public function getSortDataPoint() { return $this->sortDataPoint; } } -?> \ No newline at end of file +?>