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 : boolean

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

Type

boolean

$showVal

$showVal : boolean

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

Type

boolean

$showCatName

$showCatName : boolean

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

Type

boolean

$showSerName

$showSerName : boolean

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

Type

boolean

$showPercent

$showPercent : boolean

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

Type

boolean

$showBubbleSize

$showBubbleSize : boolean

show bubble size.

Type

boolean

$showLeaderLines

$showLeaderLines : boolean

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

Type

boolean

Methods

__construct()

__construct(array  $layout = array()) 

Create a new Layout.

Parameters

array $layout

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() : boolean

Get show legend key.

Returns

boolean

setShowLegendKey()

setShowLegendKey(boolean  $value) : $this

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

Parameters

boolean $value

Show legend key

Returns

$this

getShowVal()

getShowVal() : boolean

Get show value.

Returns

boolean

setShowVal()

setShowVal(boolean  $value) : $this

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

Parameters

boolean $value

Show val

Returns

$this

getShowCatName()

getShowCatName() : boolean

Get show category name.

Returns

boolean

setShowCatName()

setShowCatName(boolean  $value) : $this

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

Parameters

boolean $value

Show cat name

Returns

$this

getShowSerName()

getShowSerName() : boolean

Get show data series name.

Returns

boolean

setShowSerName()

setShowSerName(boolean  $value) : $this

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

Parameters

boolean $value

Show series name

Returns

$this

getShowPercent()

getShowPercent() : boolean

Get show percentage.

Returns

boolean

setShowPercent()

setShowPercent(boolean  $value) : $this

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

Parameters

boolean $value

Show percentage

Returns

$this

getShowBubbleSize()

getShowBubbleSize() : boolean

Get show bubble size.

Returns

boolean

setShowBubbleSize()

setShowBubbleSize(boolean  $value) : $this

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

Parameters

boolean $value

Show bubble size

Returns

$this

getShowLeaderLines()

getShowLeaderLines() : boolean

Get show leader lines.

Returns

boolean

setShowLeaderLines()

setShowLeaderLines(boolean  $value) : $this

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

Parameters

boolean $value

Show leader lines

Returns

$this