protected function validate() { if ($this->isHidden()) { return; } parent::validate(); $this->requireAspects(array('value' => "Please add a value usig setValue")); }
protected function validate() { if ($this->isHidden()) { return; } parent::validate(); $this->requireAspects(array('series' => "Please add a series using addSeries", 'labels' => "Please set some labels using addLabels")); }
protected function validate() { if ($this->isHidden()) { return; } parent::validate(); }
protected function validate() { if ($this->isHidden()) { return; } parent::validate(); $this->requireAspects(array("column" => "Please provide atleast one column using addColumn")); }