function pData::setScatterSerie

5.x pData.class.php pData::setScatterSerie($SerieX, $SerieY, $ID = 0)

File

inc/pchart/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;
  }
}