Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 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.

Class: Axis  - X-Ref

Created by PhpStorm.
User: Wiktor Trzonkowski
Date: 6/17/14
Time: 12:11 PM.

setAxisNumberProperties($format_code)   X-Ref
Get Series Data Type.

param: mixed $format_code
return: string

getAxisNumberFormat()   X-Ref
Get Axis Number Format Data Type.

return: string

getAxisNumberSourceLinked()   X-Ref
Get Axis Number Source Linked.

return: string

setAxisOptionsProperties($axis_labels, $horizontal_crosses_value = null, $horizontal_crosses = null, $axis_orientation = null, $major_tmt = null, $minor_tmt = null, $minimum = null, $maximum = null, $major_unit = null, $minor_unit = null)   X-Ref
Set Axis Options Properties.

param: string $axis_labels
param: string $horizontal_crosses_value
param: string $horizontal_crosses
param: string $axis_orientation
param: string $major_tmt
param: string $minor_tmt
param: string $minimum
param: string $maximum
param: string $major_unit
param: string $minor_unit

getAxisOptionsProperty($property)   X-Ref
Get Axis Options Property.

param: string $property
return: string

setAxisOrientation($orientation)   X-Ref
Set Axis Orientation Property.

param: string $orientation

setFillParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB)   X-Ref
Set Fill Property.

param: string $color
param: int $alpha
param: string $type

setLineParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB)   X-Ref
Set Line Property.

param: string $color
param: int $alpha
param: string $type

getFillProperty($property)   X-Ref
Get Fill Property.

param: string $property
return: string

getLineProperty($property)   X-Ref
Get Line Property.

param: string $property
return: string

setLineStyleProperties($line_width = null, $compound_type = null, $dash_type = null, $cap_type = null, $join_type = null, $head_arrow_type = null, $head_arrow_size = null, $end_arrow_type = null, $end_arrow_size = null)   X-Ref
Set Line Style Properties.

param: float $line_width
param: string $compound_type
param: string $dash_type
param: string $cap_type
param: string $join_type
param: string $head_arrow_type
param: string $head_arrow_size
param: string $end_arrow_type
param: string $end_arrow_size

getLineStyleProperty($elements)   X-Ref
Get Line Style Property.

param: array|string $elements
return: string

getLineStyleArrowWidth($arrow)   X-Ref
Get Line Style Arrow Excel Width.

param: string $arrow
return: string

getLineStyleArrowLength($arrow)   X-Ref
Get Line Style Arrow Excel Length.

param: string $arrow
return: string

setShadowProperties($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)   X-Ref
Set Shadow Properties.

param: int $sh_presets
param: string $sh_color_value
param: string $sh_color_type
param: string $sh_color_alpha
param: float $sh_blur
param: int $sh_angle
param: float $sh_distance

setShadowPresetsProperties($shadow_presets)   X-Ref
Set Shadow Color.

param: int $shadow_presets
return: Axis

setShadowProperiesMapValues(array $properties_map, &$reference = null)   X-Ref
Set Shadow Properties from Mapped Values.

param: array $properties_map
param: mixed &$reference
return: Axis

setShadowColor($color, $alpha, $type)   X-Ref
Set Shadow Color.

param: string $color
param: int $alpha
param: string $type
return: Axis

setShadowBlur($blur)   X-Ref
Set Shadow Blur.

param: float $blur
return: Axis

setShadowAngle($angle)   X-Ref
Set Shadow Angle.

param: int $angle
return: Axis

setShadowDistance($distance)   X-Ref
Set Shadow Distance.

param: float $distance
return: Axis

getShadowProperty($elements)   X-Ref
Get Shadow Property.

param: string|string[] $elements
return: null|array|int|string

setGlowProperties($size, $color_value = null, $color_alpha = null, $color_type = null)   X-Ref
Set Glow Properties.

param: float $size
param: string $color_value
param: int $color_alpha
param: string $color_type

getGlowProperty($property)   X-Ref
Get Glow Property.

param: array|string $property
return: string

setGlowSize($size)   X-Ref
Set Glow Color.

param: float $size
return: Axis

setGlowColor($color, $alpha, $type)   X-Ref
Set Glow Color.

param: string $color
param: int $alpha
param: string $type
return: Axis

setSoftEdges($size)   X-Ref
Set Soft Edges Size.

param: float $size

getSoftEdgesSize()   X-Ref
Get Soft Edges Size.

return: string