function pData::removeSerie in Visitors 7
Same name and namespace in other branches
- 8 pchart/pData.inc \pData::RemoveSerie()
- 7.2 pChart/class/pData.class.php \pData::removeSerie()
- 7.0 pchart/pData.inc \pData::RemoveSerie()
File
- pChart/
class/ pData.class.php, line 117
Class
Code
function removeSerie($Series) {
if (!is_array($Series)) {
$Series = $this
->convertToArray($Series);
}
foreach ($Series as $Key => $Serie) {
if (isset($this->Data["Series"][$Serie])) {
unset($this->Data["Series"][$Serie]);
}
}
}