Properties

$layoutTarget

$layoutTarget : string

layoutTarget.

Type

string

$xMode

$xMode : string

X Mode.

Type

string

$yMode

$yMode : string

Y Mode.

Type

string

$xPos

$xPos : float

X-Position.

Type

float

$yPos

$yPos : float

Y-Position.

Type

float

$width

$width : float

width.

Type

float

$height

$height : float

height.

Type

float

$showLegendKey

$showLegendKey : bool

show legend key Specifies that legend keys should be shown in data labels.

Type

bool

$showVal

$showVal : bool

show value Specifies that the value should be shown in a data label.

Type

bool

$showCatName

$showCatName : bool

show category name Specifies that the category name should be shown in the data label.

Type

bool

$showSerName

$showSerName : bool

show data series name Specifies that the series name should be shown in the data label.

Type

bool

$showPercent

$showPercent : bool

show percentage Specifies that the percentage should be shown in the data label.

Type

bool

$showBubbleSize

$showBubbleSize : bool

show bubble size.

Type

bool

$showLeaderLines

$showLeaderLines : bool

show leader lines Specifies that leader lines should be shown for the data label.

Type

bool

Methods

__construct()

__construct(array  $layout = []) : mixed

Create a new Layout.

Parameters

array $layout

Returns

mixed —

getLayoutTarget()

getLayoutTarget() : string

Get Layout Target.

Returns

string —

setLayoutTarget()

setLayoutTarget(string  $value) : $this

Set Layout Target.

Parameters

string $value

Returns

$this —

getXMode()

getXMode() : string

Get X-Mode.

Returns

string —

setXMode()

setXMode(string  $value) : $this

Set X-Mode.

Parameters

string $value

Returns

$this —

getYMode()

getYMode() : string

Get Y-Mode.

Returns

string —

setYMode()

setYMode(string  $value) : $this

Set Y-Mode.

Parameters

string $value

Returns

$this —

getXPosition()

getXPosition() : \PhpOffice\PhpSpreadsheet\Chart\number

Get X-Position.

Returns

\PhpOffice\PhpSpreadsheet\Chart\number —

setXPosition()

setXPosition(float  $value) : $this

Set X-Position.

Parameters

float $value

Returns

$this —

getYPosition()

getYPosition() : \PhpOffice\PhpSpreadsheet\Chart\number

Get Y-Position.

Returns

\PhpOffice\PhpSpreadsheet\Chart\number —

setYPosition()

setYPosition(float  $value) : $this

Set Y-Position.

Parameters

float $value

Returns

$this —

getWidth()

getWidth() : \PhpOffice\PhpSpreadsheet\Chart\number

Get Width.

Returns

\PhpOffice\PhpSpreadsheet\Chart\number —

setWidth()

setWidth(float  $value) : $this

Set Width.

Parameters

float $value

Returns

$this —

getHeight()

getHeight() : \PhpOffice\PhpSpreadsheet\Chart\number

Get Height.

Returns

\PhpOffice\PhpSpreadsheet\Chart\number —

setHeight()

setHeight(float  $value) : $this

Set Height.

Parameters

float $value

Returns

$this —

getShowLegendKey()

getShowLegendKey() : bool

Get show legend key.

Returns

bool —

setShowLegendKey()

setShowLegendKey(bool  $value) : $this

Set show legend key Specifies that legend keys should be shown in data labels.

Parameters

bool $value

Show legend key

Returns

$this —

getShowVal()

getShowVal() : bool

Get show value.

Returns

bool —

setShowVal()

setShowVal(bool  $value) : $this

Set show val Specifies that the value should be shown in data labels.

Parameters

bool $value

Show val

Returns

$this —

getShowCatName()

getShowCatName() : bool

Get show category name.

Returns

bool —

setShowCatName()

setShowCatName(bool  $value) : $this

Set show cat name Specifies that the category name should be shown in data labels.

Parameters

bool $value

Show cat name

Returns

$this —

getShowSerName()

getShowSerName() : bool

Get show data series name.

Returns

bool —

setShowSerName()

setShowSerName(bool  $value) : $this

Set show ser name Specifies that the series name should be shown in data labels.

Parameters

bool $value

Show series name

Returns

$this —

getShowPercent()

getShowPercent() : bool

Get show percentage.

Returns

bool —

setShowPercent()

setShowPercent(bool  $value) : $this

Set show percentage Specifies that the percentage should be shown in data labels.

Parameters

bool $value

Show percentage

Returns

$this —

getShowBubbleSize()

getShowBubbleSize() : bool

Get show bubble size.

Returns

bool —

setShowBubbleSize()

setShowBubbleSize(bool  $value) : $this

Set show bubble size Specifies that the bubble size should be shown in data labels.

Parameters

bool $value

Show bubble size

Returns

$this —

getShowLeaderLines()

getShowLeaderLines() : bool

Get show leader lines.

Returns

bool —

setShowLeaderLines()

setShowLeaderLines(bool  $value) : $this

Set show leader lines Specifies that leader lines should be shown in data labels.

Parameters

bool $value

Show leader lines

Returns

$this —