Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

(no description)

File Size: 481 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.


getLayoutTarget()   X-Ref
Get Layout Target.

return: string

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

param: string $value
return: $this

getXMode()   X-Ref
Get X-Mode.

return: string

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

param: string $value
return: $this

getYMode()   X-Ref
Get Y-Mode.

return: string

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

param: string $value
return: $this

getXPosition()   X-Ref
Get X-Position.

return: number

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

param: float $value
return: $this

getYPosition()   X-Ref
Get Y-Position.

return: number

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

param: float $value
return: $this

getWidth()   X-Ref
Get Width.

return: number

setWidth($value)   X-Ref
Set Width.

param: float $value
return: $this

getHeight()   X-Ref
Get Height.

return: number

setHeight($value)   X-Ref
Set Height.

param: float $value
return: $this

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: $this

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: $this

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: $this

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: $this

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: $this

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: $this

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: $this