You are here

function pData::setScatterSerie in Visitors 7

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

File

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

Class

pData

Code

function setScatterSerie($SerieX, $SerieY, $ID = 0) {
  if (isset($this->Data["Series"][$SerieX]) && isset($this->Data["Series"][$SerieY])) {
    $this
      ->initScatterSerie($ID);
    $this->Data["ScatterSeries"][$ID]["X"] = $SerieX;
    $this->Data["ScatterSeries"][$ID]["Y"] = $SerieY;
  }
}