public function setBarDirection($value = self::DIRECTION_VERTICAL) { $this->barDirection = $value; return $this; }