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