public function PHPExcel_Chart_Legend::setPosition in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Legend.php \PHPExcel_Chart_Legend::setPosition()
* Get legend position using an excel string value * *
Parameters
string $position:
1 call to PHPExcel_Chart_Legend::setPosition()
- PHPExcel_Chart_Legend::__construct in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ Legend.php - * Create a new PHPExcel_Chart_Legend
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ Legend.php, line 106
Class
- PHPExcel_Chart_Legend
- PHPExcel_Chart_Legend
Code
public function setPosition($position = self::POSITION_RIGHT) {
if (!in_array($position, self::$_positionXLref)) {
return false;
}
$this->_position = $position;
return true;
}