public function setAxisOptions($axis, $name, $value)
    {
        if(strtolower($axis) === 'x' || strtolower($axis) === 'y') {
            $axis = strtolower($axis) . 'axis';

            if ( in_array( $name, array( 'min', 'max', 'numberTicks', 'tickInterval', 'numberTicks' ) ) ) {
                
                $this->setNestedOptVal( $this->options, 'axes', $axis, $name, $value );
                
            } elseif( in_array( $name, array( 'showGridline', 'formatString' ) ) ) {
                
                $this->setNestedOptVal( $this->options, 'axes', $axis, 'tickOptions', $name, $value );
                
            }
        }

        return $this;
    }