AxisText
extends Properties
in package
Created by PhpStorm.
User: nhw2h8s Date: 7/2/14 Time: 5:45 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'
- 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'
- 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']
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>
- $font : Font
- $rotation : int|null
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
- getFillColorObject() : ChartColor
- getFont() : Font
- 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.
- getObjectState() : bool
- Get Object State.
- getRotation() : int|null
- 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
- setFont() : self
- setGlowProperties() : void
- Set Glow Properties.
- setLineColorProperties() : void
- Set Line Color Properties.
- setLineStyleArray() : self
- setLineStyleProperties() : void
- Set Line Style Properties.
- setLineStyleProperty() : self
- setRotation() : 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'
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'
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']
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]
$font
private
Font
$font
$rotation
private
int|null
$rotation
= null
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
getFillColorObject()
public
getFillColorObject() : ChartColor
Return values
ChartColorgetFont()
public
getFont() : Font
Return values
FontgetGlowColor()
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|nullgetObjectState()
Get Object State.
public
getObjectState() : bool
Return values
boolgetRotation()
public
getRotation() : int|null
Return values
int|nullgetShadowArray()
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
stringsetFont()
public
setFont(Font $font) : self
Parameters
- $font : Font
Return values
selfsetGlowProperties()
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
selfsetRotation()
public
setRotation(int|null $rotation) : self
Parameters
- $rotation : int|null
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