Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

(no description)

File Size: 483 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: Layout  - X-Ref

__construct(array $layout = [])   X-Ref
Create a new Layout.

param: array $layout

getLayoutTarget()   X-Ref
Get Layout Target.

return: string

setLayoutTarget($value)   X-Ref
Set Layout Target.

param: string $value
return: Layout

getXMode()   X-Ref
Get X-Mode.

return: string

setXMode($value)   X-Ref
Set X-Mode.

param: string $value
return: Layout

getYMode()   X-Ref
Get Y-Mode.

return: string

setYMode($value)   X-Ref
Set Y-Mode.

param: string $value
return: Layout

getXPosition()   X-Ref
Get X-Position.

return: number

setXPosition($value)   X-Ref
Set X-Position.

param: float $value
return: Layout

getYPosition()   X-Ref
Get Y-Position.

return: number

setYPosition($value)   X-Ref
Set Y-Position.

param: float $value
return: Layout

getWidth()   X-Ref
Get Width.

return: number

setWidth($value)   X-Ref
Set Width.

param: float $value
return: Layout

getHeight()   X-Ref
Get Height.

return: number

setHeight($value)   X-Ref
Set Height.

param: float $value
return: Layout

getShowLegendKey()   X-Ref
Get show legend key.

return: bool

setShowLegendKey($value)   X-Ref
Set show legend key
Specifies that legend keys should be shown in data labels.

param: bool $value Show legend key
return: Layout

getShowVal()   X-Ref
Get show value.

return: bool

setShowVal($value)   X-Ref
Set show val
Specifies that the value should be shown in data labels.

param: bool $value Show val
return: Layout

getShowCatName()   X-Ref
Get show category name.

return: bool

setShowCatName($value)   X-Ref
Set show cat name
Specifies that the category name should be shown in data labels.

param: bool $value Show cat name
return: Layout

getShowSerName()   X-Ref
Get show data series name.

return: bool

setShowSerName($value)   X-Ref
Set show ser name
Specifies that the series name should be shown in data labels.

param: bool $value Show series name
return: Layout

getShowPercent()   X-Ref
Get show percentage.

return: bool

setShowPercent($value)   X-Ref
Set show percentage
Specifies that the percentage should be shown in data labels.

param: bool $value Show percentage
return: Layout

getShowBubbleSize()   X-Ref
Get show bubble size.

return: bool

setShowBubbleSize($value)   X-Ref
Set show bubble size
Specifies that the bubble size should be shown in data labels.

param: bool $value Show bubble size
return: Layout

getShowLeaderLines()   X-Ref
Get show leader lines.

return: bool

setShowLeaderLines($value)   X-Ref
Set show leader lines
Specifies that leader lines should be shown in data labels.

param: bool $value Show leader lines
return: Layout