Differential D350 Diff 976 branches/5.2.x/core/units/general/libchart/classes/view/color/Palette.php
Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/general/libchart/classes/view/color/Palette.php
Show All 31 Lines | |||||
public $barColorSet; | public $barColorSet; | ||||
public $lineColorSet; | public $lineColorSet; | ||||
public $pieColorSet; | public $pieColorSet; | ||||
/** | /** | ||||
* Palette constructor. | * Palette constructor. | ||||
*/ | */ | ||||
public function LibchartPalette() { | public function __construct() { | ||||
$this->red = new LibchartColor(255, 0, 0); | $this->red = new LibchartColor(255, 0, 0); | ||||
// Colors for the horizontal and vertical axis | // Colors for the horizontal and vertical axis | ||||
$this->axisColor = array( | $this->axisColor = array( | ||||
new LibchartColor(201, 201, 201), | new LibchartColor(201, 201, 201), | ||||
new LibchartColor(158, 158, 158) | new LibchartColor(158, 158, 158) | ||||
); | ); | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | |||||
new LibchartColor(142, 165, 250), | new LibchartColor(142, 165, 250), | ||||
new LibchartColor(162, 254, 239), | new LibchartColor(162, 254, 239), | ||||
new LibchartColor(137, 240, 166), | new LibchartColor(137, 240, 166), | ||||
new LibchartColor(104, 221, 71), | new LibchartColor(104, 221, 71), | ||||
new LibchartColor(98, 174, 35), | new LibchartColor(98, 174, 35), | ||||
new LibchartColor(93, 129, 1) | new LibchartColor(93, 129, 1) | ||||
), 0.7); | ), 0.7); | ||||
} | } | ||||
} | } | ||||
No newline at end of file |