Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

(no description)

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

Defines 1 class


Class: Chart  - X-Ref

__construct(string $cNamespace = Namespaces::CHART, string $aNamespace = Namespaces::DRAWINGML)   X-Ref
No description

getAttribute(SimpleXMLElement $component, $name, $format)   X-Ref

param: string $name
param: string $format
return: null|bool|float|int|string

readChart(SimpleXMLElement $chartElements, $chartName)   X-Ref

param: string $chartName
return: \PhpOffice\PhpSpreadsheet\Chart\Chart

chartTitle(SimpleXMLElement $titleDetails)   X-Ref
No description

chartLayoutDetails(SimpleXMLElement $chartDetail)   X-Ref
No description

chartDataSeries(SimpleXMLElement $chartDetail, string $plotType)   X-Ref
No description

chartDataSeriesValueSet(SimpleXMLElement $seriesDetail, ?string $marker = null, ?ChartColor $fillColor = null, ?string $pointSize = null)   X-Ref

return: mixed

chartDataSeriesValues(SimpleXMLElement $seriesValueSet, string $dataType = 'n')   X-Ref
No description

chartDataSeriesValuesMultiLevel(SimpleXMLElement $seriesValueSet, string $dataType = 'n')   X-Ref
No description

parseRichText(SimpleXMLElement $titleDetailPart)   X-Ref
No description

readChartAttributes($chartDetail)   X-Ref

param: ?SimpleXMLElement $chartDetail

setChartAttributes(Layout $plotArea, $plotAttributes)   X-Ref

param: mixed $plotAttributes

readEffects(SimpleXMLElement $chartDetail, ?ChartProperties $chartObject)   X-Ref
No description

readColor(SimpleXMLElement $colorXml)   X-Ref
No description

readLineStyle(SimpleXMLElement $chartDetail, ?ChartProperties $chartObject)   X-Ref
No description

setAxisProperties(SimpleXMLElement $chartDetail, ?Axis $whichAxis)   X-Ref
No description