function pData::containsData

5.x pData.class.php pData::containsData()

File

inc/pchart/pchart/class/pData.class.php, line 397

Class

pData

Code

function containsData() 
 {
  if (!isset($this->Data ["Series"])) {
    return (FALSE);
  }

  $Result = FALSE;
  foreach ($this->Data ["Series"] as $Key => $Value) 
   {
    if ($this->Data ["Abscissa"] != $Key && $this->Data ["Series"][$Key]["isDrawable"] == TRUE) {
      $Result = TRUE;
    }
  }
  return ($Result);
}