function pData::setSeriePicture
Search API
5.x pData.class.php | pData::setSeriePicture($Series, $Picture = NULL) |
File
- inc/
pchart/ pchart/ class/ pData.class.php, line 172
Class
Code
function setSeriePicture($Series, $Picture = NULL)
{
if (!is_array($Series)) {
$Series = $this->convertToArray($Series);
}
foreach ($Series as $Key => $Serie) {
if (isset($this->Data ["Series"][$Serie])) {
$this->Data ["Series"][$Serie]["Picture"] = $Picture;
}
}
}