public function getOptions()
	{
		$opts = array();

		$first = array();
		$second = array();
		
        if ( $this->axisRenderer ) {
		    $first['renderer'] = '#' . $this->axisRenderer . '#';
        }
        
		if( isset( $this->options['ticks'] ) ) {
			$first['ticks'] = $this->options['ticks'];
		}
		
		$second['min'] = isset( $this->options['min'] ) ? $this->options['min'] : 0;

		if( isset( $this->options['horizontal'] ) && $this->options['horizontal'] ) {
			$opts['xaxis'] = $second;
			$opts['yaxis'] = $first;
		} else {
			$opts['xaxis'] = $first;
			$opts['yaxis'] = $second;
		}

		$opts = array( 'axes' => $opts );

		if( isset( $this->options['stackSeries'] ) ) {
			$opts['stackSeries'] = $this->options['stackSeries'];
		}

		if( isset( $this->options['seriesColors'] ) ) {
			$opts['seriesColors'] = $this->options['seriesColors'];
		}

		return $opts;
	}