53 self::xlLegendPositionCorner => self::POSITION_TOPRIGHT,
54 self::xlLegendPositionCustom =>
'??',
55 self::xlLegendPositionLeft => self::POSITION_LEFT,
56 self::xlLegendPositionRight => self::POSITION_RIGHT,
57 self::xlLegendPositionTop => self::POSITION_TOP
107 if (!in_array($position,self::$_positionXLref)) {
111 $this->_position = $position;
121 return array_search($this->_position,self::$_positionXLref);
130 if (!array_key_exists($positionXL,self::$_positionXLref)) {
134 $this->_position = self::$_positionXLref[$positionXL];
154 if (!is_bool($overlay)) {
158 $this->_overlay = $overlay;
__construct($position=self::POSITION_RIGHT, PHPExcel_Chart_Layout $layout=NULL, $overlay=FALSE)
Create a new PHPExcel_Chart_Legend.
setPosition($position=self::POSITION_RIGHT)
Get legend position using an excel string value.
getPositionXL()
Get legend position as an Excel internal numeric value.
const xlLegendPositionCorner
const xlLegendPositionBottom
Legend positions.
const xlLegendPositionCustom
const xlLegendPositionRight
getOverlay()
Get allow overlay of other elements?
Create styles array
The data for the language used.
setOverlay($overlay=FALSE)
Set allow overlay of other elements?
getPosition()
Get legend position as an excel string value.
const xlLegendPositionTop
const xlLegendPositionLeft
setPositionXL($positionXL=self::xlLegendPositionRight)
Set legend position using an Excel internal numeric value.