Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libchart/classes/view/color/Palette.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Palette {
/**
* Palette constructor.
*/
public function Palette() {
public function __construct() {
$this->red = new Color(255, 0, 0);

// Set the colors for the horizontal and vertical axis
Expand Down Expand Up @@ -153,4 +153,4 @@ public function setPieColor($colors) {
$this->pieColorSet = new ColorSet($colors, 0.7);
}
}
?>
?>