Axis
extends Properties
in package
Created by PhpStorm.
User: Wiktor Trzonkowski Date: 6/17/14 Time: 12:11 PM.
Table of Contents
Constants
- ANGLE_MULTIPLIER = 60000
- AXIS_LABELS_HIGH = 'high'
- AXIS_LABELS_LOW = 'low'
- AXIS_LABELS_NEXT_TO = 'nextTo'
- AXIS_LABELS_NONE = 'none'
- AXIS_TYPE_CATEGORY = 'catAx'
- AXIS_TYPE_DATE = 'dateAx'
- AXIS_TYPE_VALUE = 'valAx'
- DISP_UNITS_BILLIONS = 'billions'
- DISP_UNITS_BUILTIN_INT = [100 => self::DISP_UNITS_HUNDREDS, 1000 => self::DISP_UNITS_THOUSANDS, 10000 => self::DISP_UNITS_TEN_THOUSANDS, 100000 => self::DISP_UNITS_HUNDRED_THOUSANDS, 1000000 => self::DISP_UNITS_MILLIONS, 10000000 => self::DISP_UNITS_TEN_MILLIONS, 100000000 => self::DISP_UNITS_HUNDRED_MILLIONS, 1000000000 => self::DISP_UNITS_BILLIONS, self::TRILLION_INDEX => self::DISP_UNITS_TRILLIONS]
- DISP_UNITS_HUNDRED_MILLIONS = 'hundredMillions'
- DISP_UNITS_HUNDRED_THOUSANDS = 'hundredThousands'
- DISP_UNITS_HUNDREDS = 'hundreds'
- DISP_UNITS_MILLIONS = 'millions'
- DISP_UNITS_TEN_MILLIONS = 'tenMillions'
- DISP_UNITS_TEN_THOUSANDS = 'tenThousands'
- DISP_UNITS_THOUSANDS = 'thousands'
- DISP_UNITS_TRILLIONS = 'trillions'
- FORMAT_CODE_ACCOUNTING = '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)'
- FORMAT_CODE_CURRENCY = '$#,##0.00'
- FORMAT_CODE_DATE = 'm/d/yyyy'
- FORMAT_CODE_DATE_ISO8601 = 'yyyy-mm-dd'
- FORMAT_CODE_FRACTION = '# ?/?'
- FORMAT_CODE_GENERAL = 'General'
- FORMAT_CODE_NUMBER = '#,##0.00'
- FORMAT_CODE_PERCENTAGE = '0.00%'
- FORMAT_CODE_SCIENTIFIC = '0.00E+00'
- FORMAT_CODE_SPECIAL = '00000'
- FORMAT_CODE_TEXT = '@'
- FORMAT_CODE_TIME = '[$-F400]h:mm:ss AM/PM'
- HORIZONTAL_CROSSES_AUTOZERO = 'autoZero'
- HORIZONTAL_CROSSES_MAXIMUM = 'max'
- LINE_STYLE_ARROW_SIZE_1 = 1
- LINE_STYLE_ARROW_SIZE_2 = 2
- LINE_STYLE_ARROW_SIZE_3 = 3
- LINE_STYLE_ARROW_SIZE_4 = 4
- LINE_STYLE_ARROW_SIZE_5 = 5
- LINE_STYLE_ARROW_SIZE_6 = 6
- LINE_STYLE_ARROW_SIZE_7 = 7
- LINE_STYLE_ARROW_SIZE_8 = 8
- LINE_STYLE_ARROW_SIZE_9 = 9
- LINE_STYLE_ARROW_TYPE_ARROW = 'triangle'
- LINE_STYLE_ARROW_TYPE_DIAMOND = 'diamond'
- LINE_STYLE_ARROW_TYPE_NOARROW = null
- LINE_STYLE_ARROW_TYPE_OPEN = 'arrow'
- LINE_STYLE_ARROW_TYPE_OVAL = 'oval'
- LINE_STYLE_ARROW_TYPE_STEALTH = 'stealth'
- LINE_STYLE_CAP_FLAT = 'flat'
- LINE_STYLE_CAP_ROUND = 'rnd'
- LINE_STYLE_CAP_SQUARE = 'sq'
- LINE_STYLE_COMPOUND_DOUBLE = 'dbl'
- LINE_STYLE_COMPOUND_SIMPLE = 'sng'
- LINE_STYLE_COMPOUND_THICKTHIN = 'thickThin'
- LINE_STYLE_COMPOUND_THINTHICK = 'thinThick'
- LINE_STYLE_COMPOUND_TRIPLE = 'tri'
- LINE_STYLE_DASH_DASH_DOT = 'dashDot'
- LINE_STYLE_DASH_LONG_DASH = 'lgDash'
- LINE_STYLE_DASH_LONG_DASH_DOT = 'lgDashDot'
- LINE_STYLE_DASH_LONG_DASH_DOT_DOT = 'lgDashDotDot'
- LINE_STYLE_DASH_ROUND_DOT = 'sysDot'
- LINE_STYLE_DASH_SOLID = 'solid'
- LINE_STYLE_DASH_SQUARE_DOT = 'sysDash'
- LINE_STYLE_JOIN_BEVEL = 'bevel'
- LINE_STYLE_JOIN_MITER = 'miter'
- LINE_STYLE_JOIN_ROUND = 'round'
- LINE_STYPE_DASH_DASH = 'dash'
- ORIENTATION_NORMAL = 'minMax'
- ORIENTATION_REVERSED = 'maxMin'
- PERCENTAGE_MULTIPLIER = 100000
- POINTS_WIDTH_MULTIPLIER = 12700
- SHADOW_PRESETS_INNER_BOTTOM = 11
- SHADOW_PRESETS_INNER_BOTTOM_LEFT = 12
- SHADOW_PRESETS_INNER_BOTTTOM_RIGHT = 10
- SHADOW_PRESETS_INNER_CENTER = 14
- SHADOW_PRESETS_INNER_LEFT = 15
- SHADOW_PRESETS_INNER_RIGHT = 13
- SHADOW_PRESETS_INNER_TOP = 17
- SHADOW_PRESETS_INNER_TOP_LEFT = 18
- SHADOW_PRESETS_INNER_TOP_RIGHT = 16
- SHADOW_PRESETS_NOSHADOW = null
- SHADOW_PRESETS_OUTER_BOTTOM = 2
- SHADOW_PRESETS_OUTER_BOTTOM_LEFT = 3
- SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT = 1
- SHADOW_PRESETS_OUTER_CENTER = 5
- SHADOW_PRESETS_OUTER_LEFT = 6
- SHADOW_PRESETS_OUTER_RIGHT = 4
- SHADOW_PRESETS_OUTER_TOP = 8
- SHADOW_PRESETS_OUTER_TOP_LEFT = 9
- SHADOW_PRESETS_OUTER_TOP_RIGHT = 7
- SHADOW_PRESETS_PERSPECTIVE_BELOW = 19
- SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT = 23
- SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT = 22
- SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT = 21
- SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT = 20
- TICK_MARK_CROSS = 'cross'
- TICK_MARK_INSIDE = 'in'
- TICK_MARK_NONE = 'none'
- TICK_MARK_OUTSIDE = 'out'
- TIME_UNIT_DAYS = 'days'
- TIME_UNIT_MONTHS = 'months'
- TIME_UNIT_YEARS = 'years'
- TRILLION_INDEX = (PHP_INT_SIZE > 4) ? 1000000000000 : '1000000000000'
- ARROW_SIZES = [1 => ['w' => 'sm', 'len' => 'sm'], 2 => ['w' => 'sm', 'len' => 'med'], 3 => ['w' => 'sm', 'len' => 'lg'], 4 => ['w' => 'med', 'len' => 'sm'], 5 => ['w' => 'med', 'len' => 'med'], 6 => ['w' => 'med', 'len' => 'lg'], 7 => ['w' => 'lg', 'len' => 'sm'], 8 => ['w' => 'lg', 'len' => 'med'], 9 => ['w' => 'lg', 'len' => 'lg']]
- PRESETS_OPTIONS = [ //NONE 0 => [ 'presets' => self::SHADOW_PRESETS_NOSHADOW, 'effect' => null, //'color' => [ // 'type' => ChartColor::EXCEL_COLOR_TYPE_STANDARD, // 'value' => 'black', // 'alpha' => 40, //], 'size' => ['sx' => null, 'sy' => null, 'kx' => null, 'ky' => null], 'blur' => null, 'direction' => null, 'distance' => null, 'algn' => null, 'rotWithShape' => null, ], //OUTER 1 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER, 'algn' => 'tl', 'rotWithShape' => '0'], 2 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 5400000 / self::ANGLE_MULTIPLIER, 'algn' => 't', 'rotWithShape' => '0'], 3 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER, 'algn' => 'tr', 'rotWithShape' => '0'], 4 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'algn' => 'l', 'rotWithShape' => '0'], 5 => ['effect' => 'outerShdw', 'size' => ['sx' => 102000 / self::PERCENTAGE_MULTIPLIER, 'sy' => 102000 / self::PERCENTAGE_MULTIPLIER], 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'algn' => 'ctr', 'rotWithShape' => '0'], 6 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 10800000 / self::ANGLE_MULTIPLIER, 'algn' => 'r', 'rotWithShape' => '0'], 7 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER, 'algn' => 'bl', 'rotWithShape' => '0'], 8 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 16200000 / self::ANGLE_MULTIPLIER, 'rotWithShape' => '0'], 9 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER, 'algn' => 'br', 'rotWithShape' => '0'], //INNER 10 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER], 11 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 5400000 / self::ANGLE_MULTIPLIER], 12 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER], 13 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER], 14 => ['effect' => 'innerShdw', 'blur' => 114300 / self::POINTS_WIDTH_MULTIPLIER], 15 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 10800000 / self::ANGLE_MULTIPLIER], 16 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER], 17 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 16200000 / self::ANGLE_MULTIPLIER], 18 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER], //perspective 19 => ['effect' => 'outerShdw', 'blur' => 152400 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 317500 / self::POINTS_WIDTH_MULTIPLIER, 'size' => ['sx' => 90000 / self::PERCENTAGE_MULTIPLIER, 'sy' => -19000 / self::PERCENTAGE_MULTIPLIER], 'direction' => 5400000 / self::ANGLE_MULTIPLIER, 'rotWithShape' => '0'], 20 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => 23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => -1200000 / self::ANGLE_MULTIPLIER], 'algn' => 'bl', 'rotWithShape' => '0'], 21 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => 23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => 1200000 / self::ANGLE_MULTIPLIER], 'algn' => 'br', 'rotWithShape' => '0'], 22 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 12700 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => -23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => -800400 / self::ANGLE_MULTIPLIER], 'algn' => 'bl', 'rotWithShape' => '0'], 23 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 12700 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => -23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => 800400 / self::ANGLE_MULTIPLIER], 'algn' => 'br', 'rotWithShape' => '0'], ]
- SHADOW_ARRAY_KEYS = ['size', 'color']
- NUMERIC_FORMAT = [\PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_NUMBER, \PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_DATE, \PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_DATE_ISO8601]
Properties
- $glowColor : ChartColor
- $glowSize : float|null
- $lineColor : ChartColor
- $lineStyleProperties : array<string|int, mixed>
- $objectState : bool
- $shadowColor : ChartColor
- $shadowProperties : array<string|int, mixed>
- $softEdges : array<string|int, mixed>
- $axisNumber : array{format: string, source_linked: int, numeric: ?bool}
- Axis Number.
- $axisOptions : array<string, null|string>
- Axis Options.
- $axisText : AxisText|null
- $axisType : string
- $crossBetween : string
- $dispUnitsTitle : Title|null
- $fillColor : ChartColor
- Fill Properties.
- $majorGridlines : GridLines|null
- Chart Major Gridlines as.
- $minorGridlines : GridLines|null
- Chart Minor Gridlines as.
- $noFill : bool
Methods
- __clone() : mixed
- Implement PHP __clone to create a deep clone, not just a shallow copy.
- __construct() : mixed
- activateObject() : $this
- Change Object State to True.
- angleToXml() : string
- copyLineStyles() : void
- getAxisIsNumericFormat() : bool
- getAxisNumberFormat() : string
- Get Axis Number Format Data Type.
- getAxisNumberSourceLinked() : string
- Get Axis Number Source Linked.
- getAxisOptionsProperty() : string|null
- Get Axis Options Property.
- getAxisText() : AxisText|null
- getAxisType() : string
- getCrossBetween() : string
- getDispUnitsTitle() : Title|null
- getFillColorObject() : ChartColor
- getFillProperty() : string
- Get Fill Property.
- getGlowColor() : null|int|string
- Get Glow Color Property.
- getGlowColorObject() : ChartColor
- getGlowProperty() : null|array<string|int, mixed>|float|int|string
- Get Glow Property.
- getGlowSize() : float|null
- Get Glow Size.
- getLineColor() : ChartColor
- getLineColorProperty() : null|int|string
- Get Line Color Property.
- getLineStyleArray() : array<string|int, mixed>
- getLineStyleArrowLength() : string|null
- Get Line Style Arrow Excel Length.
- getLineStyleArrowParameters() : string
- Get Line Style Arrow Parameters.
- getLineStyleArrowWidth() : string|null
- Get Line Style Arrow Width.
- getLineStyleProperty() : string|null
- Get Line Style Property.
- getMajorGridlines() : GridLines|null
- getMinorGridlines() : GridLines|null
- getNoFill() : bool
- getObjectState() : bool
- Get Object State.
- getShadowArray() : array<string|int, mixed>
- getShadowColorObject() : ChartColor
- getShadowProperty() : array<string|int, mixed>|string|null
- Get Shadow Property.
- getSoftEdgesSize() : float|null
- Get Soft Edges Size.
- pointsToXml() : string
- setAxisNumberProperties() : void
- Get Series Data Type.
- setAxisOption() : void
- setAxisOptionsProperties() : void
- Set Axis Options Properties.
- setAxisOrientation() : void
- Set Axis Orientation Property.
- setAxisText() : self
- setAxisType() : self
- setCrossBetween() : self
- setDispUnitsTitle() : self
- setFillParameters() : void
- Set Fill Property.
- setGlowProperties() : void
- Set Glow Properties.
- setLineColorProperties() : void
- Set Line Color Properties.
- setLineStyleArray() : self
- setLineStyleProperties() : void
- Set Line Style Properties.
- setLineStyleProperty() : self
- setMajorGridlines() : self
- setMinorGridlines() : self
- setNoFill() : self
- setShadowProperties() : void
- Set Shadow Properties.
- setShadowProperty() : self
- setSoftEdges() : void
- Set Soft Edges Size.
- tenthOfPercentToXml() : string
- xmlToAngle() : float
- xmlToPoints() : float
- xmlToTenthOfPercent() : float
- getArrayElementsValue() : mixed
- Get value of array element.
- getLineStyleArrowSize() : string
- Get Line Style Arrow Size.
- getShadowPresetsMap() : array<string|int, mixed>
- setColorProperties() : array<string|int, mixed>
- setGlowSize() : $this
- Set Glow Size.
- setShadowAngle() : $this
- Set Shadow Angle.
- setShadowBlur() : $this
- Set Shadow Blur.
- setShadowDistance() : $this
- Set Shadow Distance.
- setShadowPresetsProperties() : $this
- Set Shadow Presets Properties.
- setShadowPropertiesMapValues() : $this
- Set Shadow Properties Values.
Constants
ANGLE_MULTIPLIER
public
mixed
ANGLE_MULTIPLIER
= 60000
AXIS_LABELS_HIGH
public
mixed
AXIS_LABELS_HIGH
= 'high'
AXIS_LABELS_LOW
public
mixed
AXIS_LABELS_LOW
= 'low'
AXIS_LABELS_NEXT_TO
public
mixed
AXIS_LABELS_NEXT_TO
= 'nextTo'
AXIS_LABELS_NONE
public
mixed
AXIS_LABELS_NONE
= 'none'
AXIS_TYPE_CATEGORY
public
mixed
AXIS_TYPE_CATEGORY
= 'catAx'
AXIS_TYPE_DATE
public
mixed
AXIS_TYPE_DATE
= 'dateAx'
AXIS_TYPE_VALUE
public
mixed
AXIS_TYPE_VALUE
= 'valAx'
DISP_UNITS_BILLIONS
public
mixed
DISP_UNITS_BILLIONS
= 'billions'
DISP_UNITS_BUILTIN_INT
public
mixed
DISP_UNITS_BUILTIN_INT
= [100 => self::DISP_UNITS_HUNDREDS, 1000 => self::DISP_UNITS_THOUSANDS, 10000 => self::DISP_UNITS_TEN_THOUSANDS, 100000 => self::DISP_UNITS_HUNDRED_THOUSANDS, 1000000 => self::DISP_UNITS_MILLIONS, 10000000 => self::DISP_UNITS_TEN_MILLIONS, 100000000 => self::DISP_UNITS_HUNDRED_MILLIONS, 1000000000 => self::DISP_UNITS_BILLIONS, self::TRILLION_INDEX => self::DISP_UNITS_TRILLIONS]
DISP_UNITS_HUNDRED_MILLIONS
public
mixed
DISP_UNITS_HUNDRED_MILLIONS
= 'hundredMillions'
DISP_UNITS_HUNDRED_THOUSANDS
public
mixed
DISP_UNITS_HUNDRED_THOUSANDS
= 'hundredThousands'
DISP_UNITS_HUNDREDS
public
mixed
DISP_UNITS_HUNDREDS
= 'hundreds'
DISP_UNITS_MILLIONS
public
mixed
DISP_UNITS_MILLIONS
= 'millions'
DISP_UNITS_TEN_MILLIONS
public
mixed
DISP_UNITS_TEN_MILLIONS
= 'tenMillions'
DISP_UNITS_TEN_THOUSANDS
public
mixed
DISP_UNITS_TEN_THOUSANDS
= 'tenThousands'
DISP_UNITS_THOUSANDS
public
mixed
DISP_UNITS_THOUSANDS
= 'thousands'
DISP_UNITS_TRILLIONS
public
mixed
DISP_UNITS_TRILLIONS
= 'trillions'
FORMAT_CODE_ACCOUNTING
public
mixed
FORMAT_CODE_ACCOUNTING
= '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)'
FORMAT_CODE_CURRENCY
public
mixed
FORMAT_CODE_CURRENCY
= '$#,##0.00'
FORMAT_CODE_DATE
public
mixed
FORMAT_CODE_DATE
= 'm/d/yyyy'
FORMAT_CODE_DATE_ISO8601
public
mixed
FORMAT_CODE_DATE_ISO8601
= 'yyyy-mm-dd'
FORMAT_CODE_FRACTION
public
mixed
FORMAT_CODE_FRACTION
= '# ?/?'
FORMAT_CODE_GENERAL
public
mixed
FORMAT_CODE_GENERAL
= 'General'
FORMAT_CODE_NUMBER
public
mixed
FORMAT_CODE_NUMBER
= '#,##0.00'
FORMAT_CODE_PERCENTAGE
public
mixed
FORMAT_CODE_PERCENTAGE
= '0.00%'
FORMAT_CODE_SCIENTIFIC
public
mixed
FORMAT_CODE_SCIENTIFIC
= '0.00E+00'
FORMAT_CODE_SPECIAL
public
mixed
FORMAT_CODE_SPECIAL
= '00000'
FORMAT_CODE_TEXT
public
mixed
FORMAT_CODE_TEXT
= '@'
FORMAT_CODE_TIME
public
mixed
FORMAT_CODE_TIME
= '[$-F400]h:mm:ss AM/PM'
HORIZONTAL_CROSSES_AUTOZERO
public
mixed
HORIZONTAL_CROSSES_AUTOZERO
= 'autoZero'
HORIZONTAL_CROSSES_MAXIMUM
public
mixed
HORIZONTAL_CROSSES_MAXIMUM
= 'max'
LINE_STYLE_ARROW_SIZE_1
public
mixed
LINE_STYLE_ARROW_SIZE_1
= 1
LINE_STYLE_ARROW_SIZE_2
public
mixed
LINE_STYLE_ARROW_SIZE_2
= 2
LINE_STYLE_ARROW_SIZE_3
public
mixed
LINE_STYLE_ARROW_SIZE_3
= 3
LINE_STYLE_ARROW_SIZE_4
public
mixed
LINE_STYLE_ARROW_SIZE_4
= 4
LINE_STYLE_ARROW_SIZE_5
public
mixed
LINE_STYLE_ARROW_SIZE_5
= 5
LINE_STYLE_ARROW_SIZE_6
public
mixed
LINE_STYLE_ARROW_SIZE_6
= 6
LINE_STYLE_ARROW_SIZE_7
public
mixed
LINE_STYLE_ARROW_SIZE_7
= 7
LINE_STYLE_ARROW_SIZE_8
public
mixed
LINE_STYLE_ARROW_SIZE_8
= 8
LINE_STYLE_ARROW_SIZE_9
public
mixed
LINE_STYLE_ARROW_SIZE_9
= 9
LINE_STYLE_ARROW_TYPE_ARROW
public
mixed
LINE_STYLE_ARROW_TYPE_ARROW
= 'triangle'
LINE_STYLE_ARROW_TYPE_DIAMOND
public
mixed
LINE_STYLE_ARROW_TYPE_DIAMOND
= 'diamond'
LINE_STYLE_ARROW_TYPE_NOARROW
public
mixed
LINE_STYLE_ARROW_TYPE_NOARROW
= null
LINE_STYLE_ARROW_TYPE_OPEN
public
mixed
LINE_STYLE_ARROW_TYPE_OPEN
= 'arrow'
LINE_STYLE_ARROW_TYPE_OVAL
public
mixed
LINE_STYLE_ARROW_TYPE_OVAL
= 'oval'
LINE_STYLE_ARROW_TYPE_STEALTH
public
mixed
LINE_STYLE_ARROW_TYPE_STEALTH
= 'stealth'
LINE_STYLE_CAP_FLAT
public
mixed
LINE_STYLE_CAP_FLAT
= 'flat'
LINE_STYLE_CAP_ROUND
public
mixed
LINE_STYLE_CAP_ROUND
= 'rnd'
LINE_STYLE_CAP_SQUARE
public
mixed
LINE_STYLE_CAP_SQUARE
= 'sq'
LINE_STYLE_COMPOUND_DOUBLE
public
mixed
LINE_STYLE_COMPOUND_DOUBLE
= 'dbl'
LINE_STYLE_COMPOUND_SIMPLE
public
mixed
LINE_STYLE_COMPOUND_SIMPLE
= 'sng'
LINE_STYLE_COMPOUND_THICKTHIN
public
mixed
LINE_STYLE_COMPOUND_THICKTHIN
= 'thickThin'
LINE_STYLE_COMPOUND_THINTHICK
public
mixed
LINE_STYLE_COMPOUND_THINTHICK
= 'thinThick'
LINE_STYLE_COMPOUND_TRIPLE
public
mixed
LINE_STYLE_COMPOUND_TRIPLE
= 'tri'
LINE_STYLE_DASH_DASH_DOT
public
mixed
LINE_STYLE_DASH_DASH_DOT
= 'dashDot'
LINE_STYLE_DASH_LONG_DASH
public
mixed
LINE_STYLE_DASH_LONG_DASH
= 'lgDash'
LINE_STYLE_DASH_LONG_DASH_DOT
public
mixed
LINE_STYLE_DASH_LONG_DASH_DOT
= 'lgDashDot'
LINE_STYLE_DASH_LONG_DASH_DOT_DOT
public
mixed
LINE_STYLE_DASH_LONG_DASH_DOT_DOT
= 'lgDashDotDot'
LINE_STYLE_DASH_ROUND_DOT
public
mixed
LINE_STYLE_DASH_ROUND_DOT
= 'sysDot'
LINE_STYLE_DASH_SOLID
public
mixed
LINE_STYLE_DASH_SOLID
= 'solid'
LINE_STYLE_DASH_SQUARE_DOT
public
mixed
LINE_STYLE_DASH_SQUARE_DOT
= 'sysDash'
LINE_STYLE_JOIN_BEVEL
public
mixed
LINE_STYLE_JOIN_BEVEL
= 'bevel'
LINE_STYLE_JOIN_MITER
public
mixed
LINE_STYLE_JOIN_MITER
= 'miter'
LINE_STYLE_JOIN_ROUND
public
mixed
LINE_STYLE_JOIN_ROUND
= 'round'
LINE_STYPE_DASH_DASH
public
mixed
LINE_STYPE_DASH_DASH
= 'dash'
ORIENTATION_NORMAL
public
mixed
ORIENTATION_NORMAL
= 'minMax'
ORIENTATION_REVERSED
public
mixed
ORIENTATION_REVERSED
= 'maxMin'
PERCENTAGE_MULTIPLIER
public
mixed
PERCENTAGE_MULTIPLIER
= 100000
POINTS_WIDTH_MULTIPLIER
public
mixed
POINTS_WIDTH_MULTIPLIER
= 12700
SHADOW_PRESETS_INNER_BOTTOM
public
mixed
SHADOW_PRESETS_INNER_BOTTOM
= 11
SHADOW_PRESETS_INNER_BOTTOM_LEFT
public
mixed
SHADOW_PRESETS_INNER_BOTTOM_LEFT
= 12
SHADOW_PRESETS_INNER_BOTTTOM_RIGHT
public
mixed
SHADOW_PRESETS_INNER_BOTTTOM_RIGHT
= 10
SHADOW_PRESETS_INNER_CENTER
public
mixed
SHADOW_PRESETS_INNER_CENTER
= 14
SHADOW_PRESETS_INNER_LEFT
public
mixed
SHADOW_PRESETS_INNER_LEFT
= 15
SHADOW_PRESETS_INNER_RIGHT
public
mixed
SHADOW_PRESETS_INNER_RIGHT
= 13
SHADOW_PRESETS_INNER_TOP
public
mixed
SHADOW_PRESETS_INNER_TOP
= 17
SHADOW_PRESETS_INNER_TOP_LEFT
public
mixed
SHADOW_PRESETS_INNER_TOP_LEFT
= 18
SHADOW_PRESETS_INNER_TOP_RIGHT
public
mixed
SHADOW_PRESETS_INNER_TOP_RIGHT
= 16
SHADOW_PRESETS_NOSHADOW
public
mixed
SHADOW_PRESETS_NOSHADOW
= null
SHADOW_PRESETS_OUTER_BOTTOM
public
mixed
SHADOW_PRESETS_OUTER_BOTTOM
= 2
SHADOW_PRESETS_OUTER_BOTTOM_LEFT
public
mixed
SHADOW_PRESETS_OUTER_BOTTOM_LEFT
= 3
SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT
public
mixed
SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT
= 1
SHADOW_PRESETS_OUTER_CENTER
public
mixed
SHADOW_PRESETS_OUTER_CENTER
= 5
SHADOW_PRESETS_OUTER_LEFT
public
mixed
SHADOW_PRESETS_OUTER_LEFT
= 6
SHADOW_PRESETS_OUTER_RIGHT
public
mixed
SHADOW_PRESETS_OUTER_RIGHT
= 4
SHADOW_PRESETS_OUTER_TOP
public
mixed
SHADOW_PRESETS_OUTER_TOP
= 8
SHADOW_PRESETS_OUTER_TOP_LEFT
public
mixed
SHADOW_PRESETS_OUTER_TOP_LEFT
= 9
SHADOW_PRESETS_OUTER_TOP_RIGHT
public
mixed
SHADOW_PRESETS_OUTER_TOP_RIGHT
= 7
SHADOW_PRESETS_PERSPECTIVE_BELOW
public
mixed
SHADOW_PRESETS_PERSPECTIVE_BELOW
= 19
SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT
public
mixed
SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT
= 23
SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT
public
mixed
SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT
= 22
SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT
public
mixed
SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT
= 21
SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT
public
mixed
SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT
= 20
TICK_MARK_CROSS
public
mixed
TICK_MARK_CROSS
= 'cross'
TICK_MARK_INSIDE
public
mixed
TICK_MARK_INSIDE
= 'in'
TICK_MARK_NONE
public
mixed
TICK_MARK_NONE
= 'none'
TICK_MARK_OUTSIDE
public
mixed
TICK_MARK_OUTSIDE
= 'out'
TIME_UNIT_DAYS
public
mixed
TIME_UNIT_DAYS
= 'days'
TIME_UNIT_MONTHS
public
mixed
TIME_UNIT_MONTHS
= 'months'
TIME_UNIT_YEARS
public
mixed
TIME_UNIT_YEARS
= 'years'
TRILLION_INDEX
public
mixed
TRILLION_INDEX
= (PHP_INT_SIZE > 4) ? 1000000000000 : '1000000000000'
ARROW_SIZES
protected
mixed
ARROW_SIZES
= [1 => ['w' => 'sm', 'len' => 'sm'], 2 => ['w' => 'sm', 'len' => 'med'], 3 => ['w' => 'sm', 'len' => 'lg'], 4 => ['w' => 'med', 'len' => 'sm'], 5 => ['w' => 'med', 'len' => 'med'], 6 => ['w' => 'med', 'len' => 'lg'], 7 => ['w' => 'lg', 'len' => 'sm'], 8 => ['w' => 'lg', 'len' => 'med'], 9 => ['w' => 'lg', 'len' => 'lg']]
PRESETS_OPTIONS
protected
mixed
PRESETS_OPTIONS
= [
//NONE
0 => [
'presets' => self::SHADOW_PRESETS_NOSHADOW,
'effect' => null,
//'color' => [
// 'type' => ChartColor::EXCEL_COLOR_TYPE_STANDARD,
// 'value' => 'black',
// 'alpha' => 40,
//],
'size' => ['sx' => null, 'sy' => null, 'kx' => null, 'ky' => null],
'blur' => null,
'direction' => null,
'distance' => null,
'algn' => null,
'rotWithShape' => null,
],
//OUTER
1 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER, 'algn' => 'tl', 'rotWithShape' => '0'],
2 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 5400000 / self::ANGLE_MULTIPLIER, 'algn' => 't', 'rotWithShape' => '0'],
3 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER, 'algn' => 'tr', 'rotWithShape' => '0'],
4 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'algn' => 'l', 'rotWithShape' => '0'],
5 => ['effect' => 'outerShdw', 'size' => ['sx' => 102000 / self::PERCENTAGE_MULTIPLIER, 'sy' => 102000 / self::PERCENTAGE_MULTIPLIER], 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'algn' => 'ctr', 'rotWithShape' => '0'],
6 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 10800000 / self::ANGLE_MULTIPLIER, 'algn' => 'r', 'rotWithShape' => '0'],
7 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER, 'algn' => 'bl', 'rotWithShape' => '0'],
8 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 16200000 / self::ANGLE_MULTIPLIER, 'rotWithShape' => '0'],
9 => ['effect' => 'outerShdw', 'blur' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 38100 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER, 'algn' => 'br', 'rotWithShape' => '0'],
//INNER
10 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER],
11 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 5400000 / self::ANGLE_MULTIPLIER],
12 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER],
13 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER],
14 => ['effect' => 'innerShdw', 'blur' => 114300 / self::POINTS_WIDTH_MULTIPLIER],
15 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 10800000 / self::ANGLE_MULTIPLIER],
16 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER],
17 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 16200000 / self::ANGLE_MULTIPLIER],
18 => ['effect' => 'innerShdw', 'blur' => 63500 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 50800 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER],
//perspective
19 => ['effect' => 'outerShdw', 'blur' => 152400 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 317500 / self::POINTS_WIDTH_MULTIPLIER, 'size' => ['sx' => 90000 / self::PERCENTAGE_MULTIPLIER, 'sy' => -19000 / self::PERCENTAGE_MULTIPLIER], 'direction' => 5400000 / self::ANGLE_MULTIPLIER, 'rotWithShape' => '0'],
20 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 18900000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => 23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => -1200000 / self::ANGLE_MULTIPLIER], 'algn' => 'bl', 'rotWithShape' => '0'],
21 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 13500000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => 23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => 1200000 / self::ANGLE_MULTIPLIER], 'algn' => 'br', 'rotWithShape' => '0'],
22 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 12700 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 2700000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => -23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => -800400 / self::ANGLE_MULTIPLIER], 'algn' => 'bl', 'rotWithShape' => '0'],
23 => ['effect' => 'outerShdw', 'blur' => 76200 / self::POINTS_WIDTH_MULTIPLIER, 'distance' => 12700 / self::POINTS_WIDTH_MULTIPLIER, 'direction' => 8100000 / self::ANGLE_MULTIPLIER, 'size' => ['sy' => -23000 / self::PERCENTAGE_MULTIPLIER, 'kx' => 800400 / self::ANGLE_MULTIPLIER], 'algn' => 'br', 'rotWithShape' => '0'],
]
SHADOW_ARRAY_KEYS
protected
mixed
SHADOW_ARRAY_KEYS
= ['size', 'color']
NUMERIC_FORMAT
private
mixed
NUMERIC_FORMAT
= [\PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_NUMBER, \PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_DATE, \PhpOffice\PhpSpreadsheet\Chart\Properties::FORMAT_CODE_DATE_ISO8601]
Properties
$glowColor
protected
ChartColor
$glowColor
$glowSize
protected
float|null
$glowSize
= null
$lineColor
protected
ChartColor
$lineColor
$lineStyleProperties
protected
array<string|int, mixed>
$lineStyleProperties
= [
'width' => null,
//'9525',
'compound' => '',
//self::LINE_STYLE_COMPOUND_SIMPLE,
'dash' => '',
//self::LINE_STYLE_DASH_SOLID,
'cap' => '',
//self::LINE_STYLE_CAP_FLAT,
'join' => '',
//self::LINE_STYLE_JOIN_BEVEL,
'arrow' => ['head' => [
'type' => '',
//self::LINE_STYLE_ARROW_TYPE_NOARROW,
'size' => '',
//self::LINE_STYLE_ARROW_SIZE_5,
'w' => '',
'len' => '',
], 'end' => [
'type' => '',
//self::LINE_STYLE_ARROW_TYPE_NOARROW,
'size' => '',
//self::LINE_STYLE_ARROW_SIZE_8,
'w' => '',
'len' => '',
]],
]
$objectState
protected
bool
$objectState
= false
$shadowColor
protected
ChartColor
$shadowColor
$shadowProperties
protected
array<string|int, mixed>
$shadowProperties
= self::PRESETS_OPTIONS[0]
$softEdges
protected
array<string|int, mixed>
$softEdges
= ['size' => null]
$axisNumber
Axis Number.
private
array{format: string, source_linked: int, numeric: ?bool}
$axisNumber
= ['format' => self::FORMAT_CODE_GENERAL, 'source_linked' => 1, 'numeric' => null]
$axisOptions
Axis Options.
private
array<string, null|string>
$axisOptions
= ['minimum' => null, 'maximum' => null, 'major_unit' => null, 'minor_unit' => null, 'orientation' => self::ORIENTATION_NORMAL, 'minor_tick_mark' => self::TICK_MARK_NONE, 'major_tick_mark' => self::TICK_MARK_NONE, 'axis_labels' => self::AXIS_LABELS_NEXT_TO, 'horizontal_crosses' => self::HORIZONTAL_CROSSES_AUTOZERO, 'horizontal_crosses_value' => null, 'textRotation' => null, 'hidden' => null, 'majorTimeUnit' => self::TIME_UNIT_YEARS, 'minorTimeUnit' => self::TIME_UNIT_MONTHS, 'baseTimeUnit' => self::TIME_UNIT_DAYS, 'logBase' => null, 'dispUnitsBuiltIn' => null]
$axisText
private
AxisText|null
$axisText
= null
$axisType
private
string
$axisType
= ''
$crossBetween
private
string
$crossBetween
= ''
$dispUnitsTitle
private
Title|null
$dispUnitsTitle
= null
$fillColor
Fill Properties.
private
ChartColor
$fillColor
$majorGridlines
Chart Major Gridlines as.
private
GridLines|null
$majorGridlines
= null
$minorGridlines
Chart Minor Gridlines as.
private
GridLines|null
$minorGridlines
= null
$noFill
private
bool
$noFill
= false
Methods
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
public
__clone() : mixed
__construct()
public
__construct() : mixed
activateObject()
Change Object State to True.
public
activateObject() : $this
Return values
$thisangleToXml()
public
static angleToXml(float $angle) : string
Parameters
- $angle : float
Return values
stringcopyLineStyles()
public
copyLineStyles(self $otherProperties) : void
Parameters
- $otherProperties : self
getAxisIsNumericFormat()
public
getAxisIsNumericFormat() : bool
Return values
boolgetAxisNumberFormat()
Get Axis Number Format Data Type.
public
getAxisNumberFormat() : string
Return values
stringgetAxisNumberSourceLinked()
Get Axis Number Source Linked.
public
getAxisNumberSourceLinked() : string
Return values
stringgetAxisOptionsProperty()
Get Axis Options Property.
public
getAxisOptionsProperty(string $property) : string|null
Parameters
- $property : string
Return values
string|nullgetAxisText()
public
getAxisText() : AxisText|null
Return values
AxisText|nullgetAxisType()
public
getAxisType() : string
Return values
stringgetCrossBetween()
public
getCrossBetween() : string
Return values
stringgetDispUnitsTitle()
public
getDispUnitsTitle() : Title|null
Return values
Title|nullgetFillColorObject()
public
getFillColorObject() : ChartColor
Return values
ChartColorgetFillProperty()
Get Fill Property.
public
getFillProperty(string $property) : string
Parameters
- $property : string
Return values
stringgetGlowColor()
Get Glow Color Property.
public
getGlowColor(string $propertyName) : null|int|string
Parameters
- $propertyName : string
Return values
null|int|stringgetGlowColorObject()
public
getGlowColorObject() : ChartColor
Return values
ChartColorgetGlowProperty()
Get Glow Property.
public
getGlowProperty(array<string|int, mixed>|string $property) : null|array<string|int, mixed>|float|int|string
Parameters
- $property : array<string|int, mixed>|string
Return values
null|array<string|int, mixed>|float|int|stringgetGlowSize()
Get Glow Size.
public
getGlowSize() : float|null
Return values
float|nullgetLineColor()
public
getLineColor() : ChartColor
Return values
ChartColorgetLineColorProperty()
Get Line Color Property.
public
getLineColorProperty(string $propertyName) : null|int|string
Parameters
- $propertyName : string
Return values
null|int|stringgetLineStyleArray()
public
getLineStyleArray() : array<string|int, mixed>
Return values
array<string|int, mixed>getLineStyleArrowLength()
Get Line Style Arrow Excel Length.
public
getLineStyleArrowLength(string $arrow) : string|null
Parameters
- $arrow : string
Return values
string|nullgetLineStyleArrowParameters()
Get Line Style Arrow Parameters.
public
getLineStyleArrowParameters(string $arrowSelector, string $propertySelector) : string
Parameters
- $arrowSelector : string
- $propertySelector : string
Return values
stringgetLineStyleArrowWidth()
Get Line Style Arrow Width.
public
getLineStyleArrowWidth(string $arrow) : string|null
Parameters
- $arrow : string
Return values
string|nullgetLineStyleProperty()
Get Line Style Property.
public
getLineStyleProperty(array<string|int, mixed>|string $elements) : string|null
Parameters
- $elements : array<string|int, mixed>|string
Return values
string|nullgetMajorGridlines()
public
getMajorGridlines() : GridLines|null
Return values
GridLines|nullgetMinorGridlines()
public
getMinorGridlines() : GridLines|null
Return values
GridLines|nullgetNoFill()
public
getNoFill() : bool
Return values
boolgetObjectState()
Get Object State.
public
getObjectState() : bool
Return values
boolgetShadowArray()
public
getShadowArray() : array<string|int, mixed>
Return values
array<string|int, mixed>getShadowColorObject()
public
getShadowColorObject() : ChartColor
Return values
ChartColorgetShadowProperty()
Get Shadow Property.
public
getShadowProperty(string|array<string|int, string> $elements) : array<string|int, mixed>|string|null
Parameters
- $elements : string|array<string|int, string>
Return values
array<string|int, mixed>|string|nullgetSoftEdgesSize()
Get Soft Edges Size.
public
getSoftEdgesSize() : float|null
Return values
float|nullpointsToXml()
public
static pointsToXml(float $width) : string
Parameters
- $width : float
Return values
stringsetAxisNumberProperties()
Get Series Data Type.
public
setAxisNumberProperties(string $format_code[, bool|null $numeric = null ][, int $sourceLinked = 0 ]) : void
Parameters
- $format_code : string
- $numeric : bool|null = null
- $sourceLinked : int = 0
setAxisOption()
public
setAxisOption(string $key, null|float|int|string $value) : void
Parameters
- $key : string
- $value : null|float|int|string
setAxisOptionsProperties()
Set Axis Options Properties.
public
setAxisOptionsProperties(string $axisLabels[, string|null $horizontalCrossesValue = null ][, string|null $horizontalCrosses = null ][, string|null $axisOrientation = null ][, string|null $majorTmt = null ][, string|null $minorTmt = null ][, null|float|int|string $minimum = null ][, null|float|int|string $maximum = null ][, null|float|int|string $majorUnit = null ][, null|float|int|string $minorUnit = null ][, null|float|int|string $textRotation = null ][, string|null $hidden = null ][, string|null $baseTimeUnit = null ][, string|null $majorTimeUnit = null ][, string|null $minorTimeUnit = null ][, null|float|int|string $logBase = null ][, string|null $dispUnitsBuiltIn = null ]) : void
Parameters
- $axisLabels : string
- $horizontalCrossesValue : string|null = null
- $horizontalCrosses : string|null = null
- $axisOrientation : string|null = null
- $majorTmt : string|null = null
- $minorTmt : string|null = null
- $minimum : null|float|int|string = null
- $maximum : null|float|int|string = null
- $majorUnit : null|float|int|string = null
- $minorUnit : null|float|int|string = null
- $textRotation : null|float|int|string = null
- $hidden : string|null = null
- $baseTimeUnit : string|null = null
- $majorTimeUnit : string|null = null
- $minorTimeUnit : string|null = null
- $logBase : null|float|int|string = null
- $dispUnitsBuiltIn : string|null = null
setAxisOrientation()
Set Axis Orientation Property.
public
setAxisOrientation(string $orientation) : void
Parameters
- $orientation : string
setAxisText()
public
setAxisText(AxisText|null $axisText) : self
Parameters
- $axisText : AxisText|null
Return values
selfsetAxisType()
public
setAxisType(string $type) : self
Parameters
- $type : string
Return values
selfsetCrossBetween()
public
setCrossBetween(string $crossBetween) : self
Parameters
- $crossBetween : string
Return values
selfsetDispUnitsTitle()
public
setDispUnitsTitle(Title|null $dispUnitsTitle) : self
Parameters
- $dispUnitsTitle : Title|null
Return values
selfsetFillParameters()
Set Fill Property.
public
setFillParameters(string|null $color[, int|null $alpha = null ][, string|null $AlphaType = ChartColor::EXCEL_COLOR_TYPE_RGB ]) : void
Parameters
- $color : string|null
- $alpha : int|null = null
- $AlphaType : string|null = ChartColor::EXCEL_COLOR_TYPE_RGB
setGlowProperties()
Set Glow Properties.
public
setGlowProperties(float $size[, string|null $colorValue = null ][, int|null $colorAlpha = null ][, string|null $colorType = null ]) : void
Parameters
- $size : float
- $colorValue : string|null = null
- $colorAlpha : int|null = null
- $colorType : string|null = null
setLineColorProperties()
Set Line Color Properties.
public
setLineColorProperties(string|null $value[, int|null $alpha = null ][, string|null $colorType = null ]) : void
Parameters
- $value : string|null
- $alpha : int|null = null
- $colorType : string|null = null
setLineStyleArray()
public
setLineStyleArray([array<string|int, mixed> $lineStyleProperties = [] ]) : self
Parameters
- $lineStyleProperties : array<string|int, mixed> = []
Return values
selfsetLineStyleProperties()
Set Line Style Properties.
public
setLineStyleProperties([null|float|int|string $lineWidth = null ][, string|null $compoundType = '' ][, string|null $dashType = '' ][, string|null $capType = '' ][, string|null $joinType = '' ][, string|null $headArrowType = '' ][, int $headArrowSize = 0 ][, string|null $endArrowType = '' ][, int $endArrowSize = 0 ][, string|null $headArrowWidth = '' ][, string|null $headArrowLength = '' ][, string|null $endArrowWidth = '' ][, string|null $endArrowLength = '' ]) : void
Parameters
- $lineWidth : null|float|int|string = null
- $compoundType : string|null = ''
- $dashType : string|null = ''
- $capType : string|null = ''
- $joinType : string|null = ''
- $headArrowType : string|null = ''
- $headArrowSize : int = 0
- $endArrowType : string|null = ''
- $endArrowSize : int = 0
- $headArrowWidth : string|null = ''
- $headArrowLength : string|null = ''
- $endArrowWidth : string|null = ''
- $endArrowLength : string|null = ''
setLineStyleProperty()
public
setLineStyleProperty(string $propertyName, mixed $value) : self
Parameters
- $propertyName : string
- $value : mixed
Return values
selfsetMajorGridlines()
public
setMajorGridlines(GridLines|null $gridlines) : self
Parameters
- $gridlines : GridLines|null
Return values
selfsetMinorGridlines()
public
setMinorGridlines(GridLines|null $gridlines) : self
Parameters
- $gridlines : GridLines|null
Return values
selfsetNoFill()
public
setNoFill(bool $noFill) : self
Parameters
- $noFill : bool
Return values
selfsetShadowProperties()
Set Shadow Properties.
public
setShadowProperties(int $presets[, string|null $colorValue = null ][, string|null $colorType = null ][, null|float|int|string $colorAlpha = null ][, float|null $blur = null ][, int|null $angle = null ][, float|null $distance = null ]) : void
Parameters
- $presets : int
- $colorValue : string|null = null
- $colorType : string|null = null
- $colorAlpha : null|float|int|string = null
- $blur : float|null = null
- $angle : int|null = null
- $distance : float|null = null
setShadowProperty()
public
setShadowProperty(string $propertyName, mixed $value) : self
Parameters
- $propertyName : string
- $value : mixed
Return values
selfsetSoftEdges()
Set Soft Edges Size.
public
setSoftEdges(float|null $size) : void
Parameters
- $size : float|null
tenthOfPercentToXml()
public
static tenthOfPercentToXml(float $value) : string
Parameters
- $value : float
Return values
stringxmlToAngle()
public
static xmlToAngle(string $angle) : float
Parameters
- $angle : string
Return values
floatxmlToPoints()
public
static xmlToPoints(string $width) : float
Parameters
- $width : string
Return values
floatxmlToTenthOfPercent()
public
static xmlToTenthOfPercent(string $value) : float
Parameters
- $value : string
Return values
floatgetArrayElementsValue()
Get value of array element.
protected
getArrayElementsValue(array<string|int, mixed> $properties, array<string|int, mixed>|int|string $elements) : mixed
Parameters
- $properties : array<string|int, mixed>
- $elements : array<string|int, mixed>|int|string
getLineStyleArrowSize()
Get Line Style Arrow Size.
protected
getLineStyleArrowSize(int $arraySelector, string $arrayKaySelector) : string
Parameters
- $arraySelector : int
- $arrayKaySelector : string
Return values
stringgetShadowPresetsMap()
protected
getShadowPresetsMap(int $presetsOption) : array<string|int, mixed>
Parameters
- $presetsOption : int
Return values
array<string|int, mixed>setColorProperties()
protected
setColorProperties(string|null $color, null|float|int|string $alpha, string|null $colorType) : array<string|int, mixed>
Parameters
- $color : string|null
- $alpha : null|float|int|string
- $colorType : string|null
Return values
array<string|int, mixed>setGlowSize()
Set Glow Size.
protected
setGlowSize(float|null $size) : $this
Parameters
- $size : float|null
Return values
$thissetShadowAngle()
Set Shadow Angle.
protected
setShadowAngle(null|float|int|string $angle) : $this
Parameters
- $angle : null|float|int|string
Return values
$thissetShadowBlur()
Set Shadow Blur.
protected
setShadowBlur(float|null $blur) : $this
Parameters
- $blur : float|null
Return values
$thissetShadowDistance()
Set Shadow Distance.
protected
setShadowDistance(float|null $distance) : $this
Parameters
- $distance : float|null
Return values
$thissetShadowPresetsProperties()
Set Shadow Presets Properties.
protected
setShadowPresetsProperties(int $presets) : $this
Parameters
- $presets : int
Return values
$thissetShadowPropertiesMapValues()
Set Shadow Properties Values.
protected
setShadowPropertiesMapValues(array<string|int, mixed> $propertiesMap[, array<string|int, mixed>|null &$reference = null ]) : $this
Parameters
- $propertiesMap : array<string|int, mixed>
- $reference : array<string|int, mixed>|null = null