__construct() __construct(string $position = self::POSITION_RIGHT, ?\PhpOffice\PhpSpreadsheet\Chart\Layout $layout = null, bool $overlay = false) : mixed Create a new Legend. Parameters string $position ?\PhpOffice\PhpSpreadsheet\Chart\Layout $layout bool $overlay Returns mixed —
setPosition() setPosition(string $position) : bool Get legend position using an excel string value. Parameters string $position see self::POSITION_* Returns bool —
getPositionXL() getPositionXL() : int Get legend position as an Excel internal numeric value. Returns int —
setPositionXL() setPositionXL(int $positionXL) : bool Set legend position using an Excel internal numeric value. Parameters int $positionXL see self::XL_LEGEND_POSITION_* Returns bool —
setOverlay() setOverlay(bool $overlay) : bool Set allow overlay of other elements? Parameters bool $overlay Returns bool —
getLayout() getLayout() : \PhpOffice\PhpSpreadsheet\Chart\Layout Get Layout. Returns \PhpOffice\PhpSpreadsheet\Chart\Layout —