public function PHPExcel_Chart_Legend::setPositionXL in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Legend.php \PHPExcel_Chart_Legend::setPositionXL()
* Set legend position using an Excel internal numeric value * *
Parameters
number $positionXL:
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ Legend.php, line 129
Class
- PHPExcel_Chart_Legend
- PHPExcel_Chart_Legend
Code
public function setPositionXL($positionXL = self::xlLegendPositionRight) {
if (!array_key_exists($positionXL, self::$_positionXLref)) {
return false;
}
$this->_position = self::$_positionXLref[$positionXL];
return true;
}