public function setAxisLabel( $axis, $label )
	{
	    if ( in_array( $axis, array( 'x', 'y', 'z' ) ) ) {
	        $originalAxisOptions = $this->jsWriter->getOption( 'axes', array() );
	        $desiredAxisOptions = array( "{$axis}axis" => array( 'label' => $label ) );
	        $this->jsWriter->setOption( 'axes', array_merge_recursive( $originalAxisOptions, $desiredAxisOptions ) );
	    } 

		return $this;
	}
public function setAxisLabel( $axis, $label )
	{
	    if ( in_array( $axis, array( 'x', 'y', 'z' ) ) ) {
	        $originalAxisOptions = $this->jsWriter->getOption( 'axes', array() );
	        $desiredAxisOptions = array( "{$axis}axis" => array( 'label' => $label ) );
	        $this->jsWriter->setOption( 'axes', array_merge_recursive( $originalAxisOptions, $desiredAxisOptions ) );
	    } 

		return $this;
	}
public function setAxisLabel ( $ axis , $ label ) { if ( in_array ( $ axis , array ( 'x' , 'y' , 'z' ) ) ) { $ originalAxisOptions = $ this -> jsWriter -> getOption ( 'axes' , array ( ) ) ; $ desiredAxisOptions = array ( "{$axis}axis" => array ( 'label' => $ label ) ) ; $ this -> jsWriter -> setOption ( 'axes' , array_merge_recursive ( $ originalAxisOptions , $ desiredAxisOptions ) ) ; } return $ this ; }
Sets the label on this chart for a given axis
@param string $axis x, y, z
@param string $label the label
@return \Altamira\Chart provides fluent interface
Sets the label on this chart for a given axis