class Axis extends Properties (View source)

Created by PhpStorm.

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

Constants

EXCEL_COLOR_TYPE_STANDARD

EXCEL_COLOR_TYPE_SCHEME

EXCEL_COLOR_TYPE_ARGB

AXIS_LABELS_LOW

AXIS_LABELS_HIGH

AXIS_LABELS_NEXT_TO

AXIS_LABELS_NONE

TICK_MARK_NONE

TICK_MARK_INSIDE

TICK_MARK_OUTSIDE

TICK_MARK_CROSS

HORIZONTAL_CROSSES_AUTOZERO

HORIZONTAL_CROSSES_MAXIMUM

FORMAT_CODE_GENERAL

FORMAT_CODE_NUMBER

FORMAT_CODE_CURRENCY

FORMAT_CODE_ACCOUNTING

FORMAT_CODE_DATE

FORMAT_CODE_TIME

FORMAT_CODE_PERCENTAGE

FORMAT_CODE_FRACTION

FORMAT_CODE_SCIENTIFIC

FORMAT_CODE_TEXT

FORMAT_CODE_SPECIAL

ORIENTATION_NORMAL

ORIENTATION_REVERSED

LINE_STYLE_COMPOUND_SIMPLE

LINE_STYLE_COMPOUND_DOUBLE

LINE_STYLE_COMPOUND_THICKTHIN

LINE_STYLE_COMPOUND_THINTHICK

LINE_STYLE_COMPOUND_TRIPLE

LINE_STYLE_DASH_SOLID

LINE_STYLE_DASH_ROUND_DOT

LINE_STYLE_DASH_SQUERE_DOT

LINE_STYPE_DASH_DASH

LINE_STYLE_DASH_DASH_DOT

LINE_STYLE_DASH_LONG_DASH

LINE_STYLE_DASH_LONG_DASH_DOT

LINE_STYLE_DASH_LONG_DASH_DOT_DOT

LINE_STYLE_CAP_SQUARE

LINE_STYLE_CAP_ROUND

LINE_STYLE_CAP_FLAT

LINE_STYLE_JOIN_ROUND

LINE_STYLE_JOIN_MITER

LINE_STYLE_JOIN_BEVEL

LINE_STYLE_ARROW_TYPE_NOARROW

LINE_STYLE_ARROW_TYPE_ARROW

LINE_STYLE_ARROW_TYPE_OPEN

LINE_STYLE_ARROW_TYPE_STEALTH

LINE_STYLE_ARROW_TYPE_DIAMOND

LINE_STYLE_ARROW_TYPE_OVAL

LINE_STYLE_ARROW_SIZE_1

LINE_STYLE_ARROW_SIZE_2

LINE_STYLE_ARROW_SIZE_3

LINE_STYLE_ARROW_SIZE_4

LINE_STYLE_ARROW_SIZE_5

LINE_STYLE_ARROW_SIZE_6

LINE_STYLE_ARROW_SIZE_7

LINE_STYLE_ARROW_SIZE_8

LINE_STYLE_ARROW_SIZE_9

SHADOW_PRESETS_NOSHADOW

SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT

SHADOW_PRESETS_OUTER_BOTTOM

SHADOW_PRESETS_OUTER_BOTTOM_LEFT

SHADOW_PRESETS_OUTER_RIGHT

SHADOW_PRESETS_OUTER_CENTER

SHADOW_PRESETS_OUTER_LEFT

SHADOW_PRESETS_OUTER_TOP_RIGHT

SHADOW_PRESETS_OUTER_TOP

SHADOW_PRESETS_OUTER_TOP_LEFT

SHADOW_PRESETS_INNER_BOTTTOM_RIGHT

SHADOW_PRESETS_INNER_BOTTOM

SHADOW_PRESETS_INNER_BOTTOM_LEFT

SHADOW_PRESETS_INNER_RIGHT

SHADOW_PRESETS_INNER_CENTER

SHADOW_PRESETS_INNER_LEFT

SHADOW_PRESETS_INNER_TOP_RIGHT

SHADOW_PRESETS_INNER_TOP

SHADOW_PRESETS_INNER_TOP_LEFT

SHADOW_PRESETS_PERSPECTIVE_BELOW

SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT

SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT

SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT

SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT

Methods

float
getExcelPointsWidth(float $width)

No description

float
getExcelPointsAngle(float $angle)

No description

getTrueAlpha($alpha)

No description

setColorProperties($color, $alpha, $type)

No description

getLineStyleArrowSize($array_selector, $array_kay_selector)

No description

getShadowPresetsMap($shadow_presets_option)

No description

getArrayElementsValue($properties, $elements)

No description

string
setAxisNumberProperties(mixed $format_code)

Get Series Data Type.

string
getAxisNumberFormat()

Get Axis Number Format Data Type.

string
getAxisNumberSourceLinked()

Get Axis Number Source Linked.

setAxisOptionsProperties(string $axis_labels, string $horizontal_crosses_value = null, string $horizontal_crosses = null, string $axis_orientation = null, string $major_tmt = null, string $minor_tmt = null, string $minimum = null, string $maximum = null, string $major_unit = null, string $minor_unit = null)

Set Axis Options Properties.

string
getAxisOptionsProperty(string $property)

Get Axis Options Property.

setAxisOrientation(string $orientation)

Set Axis Orientation Property.

setFillParameters(string $color, int $alpha = 0, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Fill Property.

setLineParameters(string $color, int $alpha = 0, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Line Property.

string
getFillProperty(string $property)

Get Fill Property.

string
getLineProperty(string $property)

Get Line Property.

setLineStyleProperties(float $line_width = null, string $compound_type = null, string $dash_type = null, string $cap_type = null, string $join_type = null, string $head_arrow_type = null, string $head_arrow_size = null, string $end_arrow_type = null, string $end_arrow_size = null)

Set Line Style Properties.

string
getLineStyleProperty(array|string $elements)

Get Line Style Property.

string
getLineStyleArrowWidth(string $arrow)

Get Line Style Arrow Excel Width.

string
getLineStyleArrowLength(string $arrow)

Get Line Style Arrow Excel Length.

setShadowProperties(int $sh_presets, string $sh_color_value = null, string $sh_color_type = null, string $sh_color_alpha = null, float $sh_blur = null, int $sh_angle = null, float $sh_distance = null)

Set Shadow Properties.

null|array|int|string
getShadowProperty(string|string[] $elements)

Get Shadow Property.

setGlowProperties(float $size, string $color_value = null, int $color_alpha = null, string $color_type = null)

Set Glow Properties.

string
getGlowProperty(array|string $property)

Get Glow Property.

setSoftEdges(float $size)

Set Soft Edges Size.

string
getSoftEdgesSize()

Get Soft Edges Size.

Details

protected float getExcelPointsWidth(float $width)

Parameters

float $width

Return Value

float

protected float getExcelPointsAngle(float $angle)

Parameters

float $angle

Return Value

float

protected getTrueAlpha($alpha)

Parameters

$alpha

protected setColorProperties($color, $alpha, $type)

Parameters

$color
$alpha
$type

protected getLineStyleArrowSize($array_selector, $array_kay_selector)

Parameters

$array_selector
$array_kay_selector

protected getShadowPresetsMap($shadow_presets_option)

Parameters

$shadow_presets_option

protected getArrayElementsValue($properties, $elements)

Parameters

$properties
$elements

string setAxisNumberProperties(mixed $format_code)

Get Series Data Type.

Parameters

mixed $format_code

Return Value

string

string getAxisNumberFormat()

Get Axis Number Format Data Type.

Return Value

string

string getAxisNumberSourceLinked()

Get Axis Number Source Linked.

Return Value

string

setAxisOptionsProperties(string $axis_labels, string $horizontal_crosses_value = null, string $horizontal_crosses = null, string $axis_orientation = null, string $major_tmt = null, string $minor_tmt = null, string $minimum = null, string $maximum = null, string $major_unit = null, string $minor_unit = null)

Set Axis Options Properties.

Parameters

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

string getAxisOptionsProperty(string $property)

Get Axis Options Property.

Parameters

string $property

Return Value

string

setAxisOrientation(string $orientation)

Set Axis Orientation Property.

Parameters

string $orientation

setFillParameters(string $color, int $alpha = 0, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Fill Property.

Parameters

string $color
int $alpha
string $type

setLineParameters(string $color, int $alpha = 0, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Line Property.

Parameters

string $color
int $alpha
string $type

string getFillProperty(string $property)

Get Fill Property.

Parameters

string $property

Return Value

string

string getLineProperty(string $property)

Get Line Property.

Parameters

string $property

Return Value

string

setLineStyleProperties(float $line_width = null, string $compound_type = null, string $dash_type = null, string $cap_type = null, string $join_type = null, string $head_arrow_type = null, string $head_arrow_size = null, string $end_arrow_type = null, string $end_arrow_size = null)

Set Line Style Properties.

Parameters

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

string getLineStyleProperty(array|string $elements)

Get Line Style Property.

Parameters

array|string $elements

Return Value

string

string getLineStyleArrowWidth(string $arrow)

Get Line Style Arrow Excel Width.

Parameters

string $arrow

Return Value

string

string getLineStyleArrowLength(string $arrow)

Get Line Style Arrow Excel Length.

Parameters

string $arrow

Return Value

string

setShadowProperties(int $sh_presets, string $sh_color_value = null, string $sh_color_type = null, string $sh_color_alpha = null, float $sh_blur = null, int $sh_angle = null, float $sh_distance = null)

Set Shadow Properties.

Parameters

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

null|array|int|string getShadowProperty(string|string[] $elements)

Get Shadow Property.

Parameters

string|string[] $elements

Return Value

null|array|int|string

setGlowProperties(float $size, string $color_value = null, int $color_alpha = null, string $color_type = null)

Set Glow Properties.

Parameters

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

string getGlowProperty(array|string $property)

Get Glow Property.

Parameters

array|string $property

Return Value

string

setSoftEdges(float $size)

Set Soft Edges Size.

Parameters

float $size

string getSoftEdgesSize()

Get Soft Edges Size.

Return Value

string