public function __construct($datay, $datax = false) { if (count($datax) != count($datay) && is_array($datax)) { Util\JpGraphError::RaiseL(20003); //("Scatterplot must have equal number of X and Y points."); } parent::__construct($datay, $datax); $this->mark = new PlotMark(); $this->mark->SetType(MARK_SQUARE); $this->mark->SetColor($this->color); $this->value->SetAlign('center', 'center'); $this->value->SetMargin(0); $this->link = new Graph\LineProperty(1, 'black', 'solid'); $this->link->iShow = false; }
public function Max() { $m = parent::Max(); if ($m[1] <= $this->ybase) { $m[1] = $this->ybase; } return $m; }
public function SetColor($aColor) { parent::SetColor($aColor); }