You are here

function pData::setSerieTicks in Visitors 7.2

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

File

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

Class

pData

Code

function setSerieTicks($Series, $Width = 0) {
  if (!is_array($Series)) {
    $Series = $this
      ->convertToArray($Series);
  }
  foreach ($Series as $Key => $Serie) {
    if (isset($this->Data["Series"][$Serie])) {
      $this->Data["Series"][$Serie]["Ticks"] = $Width;
    }
  }
}