Ejemplo n.º 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;
 }
Ejemplo n.º 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__));
 }