Layout
in package
Table of Contents
Properties
- $dLblPos : string
- Position - t=top.
- $height : float|null
- height.
- $labelBorderColor : ChartColor|null
- $labelEffects : Properties|null
- $labelFillColor : ChartColor|null
- $labelFont : Font|null
- $layoutTarget : string|null
- layoutTarget.
- $numFmtCode : string
- $numFmtLinked : bool
- $showBubbleSize : bool|null
- show bubble size.
- $showCatName : bool|null
- show category name Specifies that the category name should be shown in the data label.
- $showLeaderLines : bool|null
- show leader lines Specifies that leader lines should be shown for the data label.
- $showLegendKey : bool|null
- show legend key Specifies that legend keys should be shown in data labels.
- $showPercent : bool|null
- show percentage Specifies that the percentage should be shown in the data label.
- $showSerName : bool|null
- show data series name Specifies that the series name should be shown in the data label.
- $showVal : bool|null
- show value Specifies that the value should be shown in a data label.
- $width : float|null
- width.
- $xMode : string|null
- X Mode.
- $xPos : float|null
- X-Position.
- $yMode : string|null
- Y Mode.
- $yPos : float|null
- Y-Position.
Methods
- __clone() : mixed
- Implement PHP __clone to create a deep clone, not just a shallow copy.
- __construct() : mixed
- Create a new Layout.
- getDLblPos() : string
- getHeight() : float|null
- Get Height.
- getLabelBorderColor() : ChartColor|null
- getLabelEffects() : Properties|null
- getLabelFillColor() : ChartColor|null
- getLabelFont() : Font|null
- getLabelFontColor() : ChartColor|null
- getLayoutTarget() : string|null
- Get Layout Target.
- getNumFmtCode() : string
- getNumFmtLinked() : bool
- getShowBubbleSize() : bool|null
- getShowCatName() : bool|null
- getShowLeaderLines() : bool|null
- getShowLegendKey() : bool|null
- getShowPercent() : bool|null
- getShowSerName() : bool|null
- getShowVal() : bool|null
- getWidth() : float|null
- Get Width.
- getXMode() : string|null
- Get X-Mode.
- getXPosition() : null|float|int
- Get X-Position.
- getYMode() : string|null
- Get Y-Mode.
- getYPosition() : float|null
- Get Y-Position.
- setDLblPos() : self
- setHeight() : $this
- Set Height.
- setLabelBorderColor() : self
- setLabelFillColor() : self
- setLabelFontColor() : self
- setLayoutTarget() : $this
- Set Layout Target.
- setNumFmtCode() : self
- setNumFmtLinked() : self
- setShowBubbleSize() : self
- Set show bubble size.
- setShowCatName() : self
- Set show cat name Specifies that the category name should be shown in data labels.
- setShowLeaderLines() : self
- Set show leader lines.
- setShowLegendKey() : self
- Set show legend key Specifies that legend keys should be shown in data labels.
- setShowPercent() : self
- Set show percentage.
- setShowSerName() : self
- Set show data series name.
- setShowVal() : self
- Set show val Specifies that the value should be shown in data labels.
- setWidth() : $this
- Set Width.
- setXMode() : $this
- Set X-Mode.
- setXPosition() : $this
- Set X-Position.
- setYMode() : $this
- Set Y-Mode.
- setYPosition() : $this
- Set Y-Position.
- initBoolean() : void
- initColor() : void
Properties
$dLblPos
Position - t=top.
private
string
$dLblPos
= ''
$height
height.
private
float|null
$height
= null
$labelBorderColor
private
ChartColor|null
$labelBorderColor
= null
$labelEffects
private
Properties|null
$labelEffects
= null
$labelFillColor
private
ChartColor|null
$labelFillColor
= null
$labelFont
private
Font|null
$labelFont
= null
$layoutTarget
layoutTarget.
private
string|null
$layoutTarget
= null
$numFmtCode
private
string
$numFmtCode
= ''
$numFmtLinked
private
bool
$numFmtLinked
= false
$showBubbleSize
show bubble size.
private
bool|null
$showBubbleSize
= null
$showCatName
show category name Specifies that the category name should be shown in the data label.
private
bool|null
$showCatName
= null
$showLeaderLines
show leader lines Specifies that leader lines should be shown for the data label.
private
bool|null
$showLeaderLines
= null
$showLegendKey
show legend key Specifies that legend keys should be shown in data labels.
private
bool|null
$showLegendKey
= null
$showPercent
show percentage Specifies that the percentage should be shown in the data label.
private
bool|null
$showPercent
= null
$showSerName
show data series name Specifies that the series name should be shown in the data label.
private
bool|null
$showSerName
= null
$showVal
show value Specifies that the value should be shown in a data label.
private
bool|null
$showVal
= null
$width
width.
private
float|null
$width
= null
$xMode
X Mode.
private
string|null
$xMode
= null
$xPos
X-Position.
private
float|null
$xPos
= null
$yMode
Y Mode.
private
string|null
$yMode
= null
$yPos
Y-Position.
private
float|null
$yPos
= null
Methods
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
public
__clone() : mixed
__construct()
Create a new Layout.
public
__construct([array<string|int, mixed> $layout = [] ]) : mixed
Parameters
- $layout : array<string|int, mixed> = []
getDLblPos()
public
getDLblPos() : string
Return values
stringgetHeight()
Get Height.
public
getHeight() : float|null
Return values
float|nullgetLabelBorderColor()
public
getLabelBorderColor() : ChartColor|null
Return values
ChartColor|nullgetLabelEffects()
public
getLabelEffects() : Properties|null
Return values
Properties|nullgetLabelFillColor()
public
getLabelFillColor() : ChartColor|null
Return values
ChartColor|nullgetLabelFont()
public
getLabelFont() : Font|null
Return values
Font|nullgetLabelFontColor()
public
getLabelFontColor() : ChartColor|null
Return values
ChartColor|nullgetLayoutTarget()
Get Layout Target.
public
getLayoutTarget() : string|null
Return values
string|nullgetNumFmtCode()
public
getNumFmtCode() : string
Return values
stringgetNumFmtLinked()
public
getNumFmtLinked() : bool
Return values
boolgetShowBubbleSize()
public
getShowBubbleSize() : bool|null
Return values
bool|nullgetShowCatName()
public
getShowCatName() : bool|null
Return values
bool|nullgetShowLeaderLines()
public
getShowLeaderLines() : bool|null
Return values
bool|nullgetShowLegendKey()
public
getShowLegendKey() : bool|null
Return values
bool|nullgetShowPercent()
public
getShowPercent() : bool|null
Return values
bool|nullgetShowSerName()
public
getShowSerName() : bool|null
Return values
bool|nullgetShowVal()
public
getShowVal() : bool|null
Return values
bool|nullgetWidth()
Get Width.
public
getWidth() : float|null
Return values
float|nullgetXMode()
Get X-Mode.
public
getXMode() : string|null
Return values
string|nullgetXPosition()
Get X-Position.
public
getXPosition() : null|float|int
Return values
null|float|intgetYMode()
Get Y-Mode.
public
getYMode() : string|null
Return values
string|nullgetYPosition()
Get Y-Position.
public
getYPosition() : float|null
Return values
float|nullsetDLblPos()
public
setDLblPos(string $dLblPos) : self
Parameters
- $dLblPos : string
Return values
selfsetHeight()
Set Height.
public
setHeight(float|null $height) : $this
Parameters
- $height : float|null
Return values
$thissetLabelBorderColor()
public
setLabelBorderColor(ChartColor|null $chartColor) : self
Parameters
- $chartColor : ChartColor|null
Return values
selfsetLabelFillColor()
public
setLabelFillColor(ChartColor|null $chartColor) : self
Parameters
- $chartColor : ChartColor|null
Return values
selfsetLabelFontColor()
public
setLabelFontColor(ChartColor|null $chartColor) : self
Parameters
- $chartColor : ChartColor|null
Return values
selfsetLayoutTarget()
Set Layout Target.
public
setLayoutTarget(string|null $target) : $this
Parameters
- $target : string|null
Return values
$thissetNumFmtCode()
public
setNumFmtCode(string $numFmtCode) : self
Parameters
- $numFmtCode : string
Return values
selfsetNumFmtLinked()
public
setNumFmtLinked(bool $numFmtLinked) : self
Parameters
- $numFmtLinked : bool
Return values
selfsetShowBubbleSize()
Set show bubble size.
public
setShowBubbleSize(bool|null $showBubbleSize) : self
Specifies that the bubble size should be shown in data labels.
Parameters
- $showBubbleSize : bool|null
Return values
selfsetShowCatName()
Set show cat name Specifies that the category name should be shown in data labels.
public
setShowCatName(bool|null $showCategoryName) : self
Parameters
- $showCategoryName : bool|null
Return values
selfsetShowLeaderLines()
Set show leader lines.
public
setShowLeaderLines(bool|null $showLeaderLines) : self
Specifies that leader lines should be shown in data labels.
Parameters
- $showLeaderLines : bool|null
Return values
selfsetShowLegendKey()
Set show legend key Specifies that legend keys should be shown in data labels.
public
setShowLegendKey(bool|null $showLegendKey) : self
Parameters
- $showLegendKey : bool|null
Return values
selfsetShowPercent()
Set show percentage.
public
setShowPercent(bool|null $showPercentage) : self
Specifies that the percentage should be shown in data labels.
Parameters
- $showPercentage : bool|null
Return values
selfsetShowSerName()
Set show data series name.
public
setShowSerName(bool|null $showSeriesName) : self
Specifies that the series name should be shown in data labels.
Parameters
- $showSeriesName : bool|null
Return values
selfsetShowVal()
Set show val Specifies that the value should be shown in data labels.
public
setShowVal(bool|null $showDataLabelValues) : self
Parameters
- $showDataLabelValues : bool|null
Return values
selfsetWidth()
Set Width.
public
setWidth(float|null $width) : $this
Parameters
- $width : float|null
Return values
$thissetXMode()
Set X-Mode.
public
setXMode(string|null $mode) : $this
Parameters
- $mode : string|null
Return values
$thissetXPosition()
Set X-Position.
public
setXPosition(float $position) : $this
Parameters
- $position : float
Return values
$thissetYMode()
Set Y-Mode.
public
setYMode(string|null $mode) : $this
Parameters
- $mode : string|null
Return values
$thissetYPosition()
Set Y-Position.
public
setYPosition(float $position) : $this
Parameters
- $position : float
Return values
$thisinitBoolean()
private
initBoolean(array<string|int, mixed> $layout, string $name) : void
Parameters
- $layout : array<string|int, mixed>
- $name : string
initColor()
private
initColor(array<string|int, mixed> $layout, string $name) : void
Parameters
- $layout : array<string|int, mixed>
- $name : string