You are here

function pData::setSerieDrawable in Visitors 7

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

File

pChart/class/pData.class.php, line 165

Class

pData

Code

function setSerieDrawable($Series, $Drawable = TRUE) {
  if (!is_array($Series)) {
    $Series = $this
      ->convertToArray($Series);
  }
  foreach ($Series as $Key => $Serie) {
    if (isset($this->Data["Series"][$Serie])) {
      $this->Data["Series"][$Serie]["isDrawable"] = $Drawable;
    }
  }
}