You are here

function pData::containsData in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pData.class.php \pData::containsData()

File

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;
}