function pData::getSeriePalette in Visitors 7
Same name and namespace in other branches
- 7.2 pChart/class/pData.class.php \pData::getSeriePalette()
File
- pChart/
class/ pData.class.php, line 487
Class
Code
function getSeriePalette($Serie) {
if (!isset($this->Data["Series"][$Serie])) {
return NULL;
}
$Result = "";
$Result["R"] = $this->Data["Series"][$Serie]["Color"]["R"];
$Result["G"] = $this->Data["Series"][$Serie]["Color"]["G"];
$Result["B"] = $this->Data["Series"][$Serie]["Color"]["B"];
$Result["Alpha"] = $this->Data["Series"][$Serie]["Color"]["Alpha"];
return $Result;
}