예제 #1
0
 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;
 }
예제 #2
0
 public function Max()
 {
     $m = parent::Max();
     if ($m[1] <= $this->ybase) {
         $m[1] = $this->ybase;
     }
     return $m;
 }
예제 #3
0
 public function SetColor($aColor)
 {
     parent::SetColor($aColor);
 }