function pData::getSeriePalette
Search API
5.x pData.class.php | pData::getSeriePalette($Serie) |
File
- inc/
pchart/ 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);
}