public function setAxis($dimension, $labels)
    {
        foreach ($labels as $label) {
            $this->addLabel($dimension, $label);
        }

        return $this;
    }
public function setAxis($dimension, $labels)
    {
        foreach ($labels as $label) {
            $this->addLabel($dimension, $label);
        }

        return $this;
    }
public function setAxis ( $ dimension , $ labels ) { foreach ( $ labels as $ label ) { $ this -> addLabel ( $ dimension , $ label ) ; } return $ this ; }
Set the elements to appear evenly spread along dimension.

@param string $dimension The dimension where labels will be displayed
@param array  $labels    Labels displayed in this axis

@return $this
Set the elements to appear evenly spread along dimension .