diff --git a/Classes/PHPExcel/Chart/Layout.php b/Classes/PHPExcel/Chart/Layout.php index 4b2c6af0..8401245c 100644 --- a/Classes/PHPExcel/Chart/Layout.php +++ b/Classes/PHPExcel/Chart/Layout.php @@ -196,7 +196,7 @@ class PHPExcel_Chart_Layout * @return string */ public function getYMode() { - return $this->_xMode; + return $this->_yMode; } /** @@ -205,7 +205,7 @@ class PHPExcel_Chart_Layout * @param Y-Mode $value */ public function setYMode($value) { - $this->_xMode = $value; + $this->_yMode = $value; } /**