/** * An object with members to configure various horizontal axis elements. To * specify properties of this property, create a new hAxis() object, set * the values then pass it to this function or to the constructor. * * @param Lavacharts\Configs\HorizontalAxis $hAxis * @throws InvalidConfigValue * @return AreaChart */ public function hAxis(HorizontalAxis $hAxis) { $this->addOption($hAxis->toArray('hAxis')); return $this; }
/** * An object with members to configure various horizontal axis elements. To * specify properties of this property, create a new hAxis() object, set * the values then pass it to this function or to the constructor. * * @param HorizontalAxis $h * * @throws InvalidConfigValue * @return ComboChart */ public function hAxis(HorizontalAxis $h) { return $this->addOption($h->toArray(__FUNCTION__)); }