Axis.php
public function setTitlePosition($position)
    {
        $allowedValues = array("in", "out", "none");
        
        if (!in_array($position, $allowedValues))
        {
            throw new \Exception("Invalid position: " . $position);
        }
        
        $this->m_options['titlePosition'] = $position;
    }
public function setTitlePosition($position)
    {
        $allowedValues = array("in", "out", "none");
        
        if (!in_array($position, $allowedValues))
        {
            throw new \Exception("Invalid position: " . $position);
        }
        
        $this->m_options['titlePosition'] = $position;
    }
public function setTitlePosition ( $ position ) { $ allowedValues = array ( "in" , "out" , "none" ) ; if ( ! in_array ( $ position , $ allowedValues ) ) { throw new \ Exception ( "Invalid position: " . $ position ) ; } $ this -> m_options [ 'titlePosition' ] = $ position ; }
Set the position of the title.
@param type $position - one of "in", "out" or "none.
@throws \Exception
Set the position of the title .