예제 #1
0
 /**
  * An object with members to configure various vertical axis elements. To
  * specify properties of this property, create a new vAxis() object, set
  * the values then pass it to this function or to the constructor.
  *
  * @param  VerticalAxis       $vAxis
  * @throws InvalidConfigValue
  * @return AreaChart
  */
 public function vAxis(VerticalAxis $vAxis)
 {
     $this->addOption($vAxis->toArray('vAxis'));
     return $this;
 }
예제 #2
0
 /**
  * An object with members to configure various vertical axis elements. To
  * specify properties of this property, create a new vAxis() object, set
  * the values then pass it to this function or to the constructor.
  *
  * @param  VerticalAxis       $v
  * @throws InvalidConfigValue
  *
  * @return ComboChart
  */
 public function vAxis(VerticalAxis $v)
 {
     return $this->addOption($v->toArray(__FUNCTION__));
 }