diff --git a/libchart/classes/view/caption/Caption.php b/libchart/classes/view/caption/Caption.php index a866ccc..6a042f0 100644 --- a/libchart/classes/view/caption/Caption.php +++ b/libchart/classes/view/caption/Caption.php @@ -39,7 +39,7 @@ class Caption { /** * Constructor of Caption */ - public function Caption() { + public function __construct() { $this->labelBoxWidth = 15; $this->labelBoxHeight = 15; } @@ -109,4 +109,4 @@ public function setColorSet($colorSet) { $this->colorSet = $colorSet; } } -?> \ No newline at end of file +?>