You are here

function pDraw::countDrawableSeries in Visitors 7.2

Same name and namespace in other branches
  1. 7 pChart/class/pDraw.class.php \pDraw::countDrawableSeries()
1 call to pDraw::countDrawableSeries()
pDraw::drawBarChart in pChart/class/pDraw.class.php

File

pChart/class/pDraw.class.php, line 106

Class

pDraw

Code

function countDrawableSeries() {
  $Results = 0;
  $Data = $this->DataSet
    ->getData();
  foreach ($Data["Series"] as $SerieName => $Serie) {
    if ($Serie["isDrawable"] == TRUE && $SerieName != $Data["Abscissa"]) {
      $Results++;
    }
  }
  return $Results;
}