function pData::RemoveSerie in Visitors 7.0
Same name and namespace in other branches
- 8 pchart/pData.inc \pData::RemoveSerie()
- 7.2 pChart/class/pData.class.php \pData::removeSerie()
- 7 pChart/class/pData.class.php \pData::removeSerie()
File
- pchart/
pData.inc, line 179
Class
Code
function RemoveSerie($SerieName = "Serie1") {
if (!isset($this->DataDescription["Values"])) {
return 0;
}
$Found = FALSE;
foreach ($this->DataDescription["Values"] as $key => $Value) {
if ($Value == $SerieName) {
unset($this->DataDescription["Values"][$key]);
}
}
}