class PHPExcel_Chart_Axis extends PHPExcel_Chart_Properties

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

string
setAxisNumberProperties($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, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Fill Property

setLineParameters(string $color, int $alpha, 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($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)

Set Shadow Properties

getShadowProperty($elements)

Get Glow 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

at line 147
string setAxisNumberProperties($format_code)

Get Series Data Type

Parameters

$format_code

Return Value

string

at line 158
string getAxisNumberFormat()

Get Axis Number Format Data Type

Return Value

string

at line 168
string getAxisNumberSourceLinked()

Get Axis Number Source Linked

Return Value

string

at line 188
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

at line 210
string getAxisOptionsProperty(string $property)

Get Axis Options Property

Parameters

string $property

Return Value

string

at line 221
setAxisOrientation(string $orientation)

Set Axis Orientation Property

Parameters

string $orientation

at line 234
setFillParameters(string $color, int $alpha, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Fill Property

Parameters

string $color
int $alpha
string $type

at line 247
setLineParameters(string $color, int $alpha, string $type = self::EXCEL_COLOR_TYPE_ARGB)

Set Line Property

Parameters

string $color
int $alpha
string $type

at line 259
string getFillProperty(string $property)

Get Fill Property

Parameters

string $property

Return Value

string

at line 271
string getLineProperty(string $property)

Get Line Property

Parameters

string $property

Return Value

string

at line 290
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

at line 310
string getLineStyleProperty(array|string $elements)

Get Line Style Property

Parameters

array|string $elements

Return Value

string

at line 322
string getLineStyleArrowWidth(string $arrow)

Get Line Style Arrow Excel Width

Parameters

string $arrow

Return Value

string

at line 334
string getLineStyleArrowLength(string $arrow)

Get Line Style Arrow Excel Length

Parameters

string $arrow

Return Value

string

at line 351
setShadowProperties($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)

Set Shadow Properties

Parameters

$sh_presets
$sh_color_value
$sh_color_type
$sh_color_alpha
$sh_blur
$sh_angle
$sh_distance

at line 482
getShadowProperty($elements)

Get Glow Property

Parameters

$elements

at line 495
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

at line 512
string getGlowProperty(array|string $property)

Get Glow Property

Parameters

array|string $property

Return Value

string

at line 554
setSoftEdges(float $size)

Set Soft Edges Size

Parameters

float $size

at line 566
string getSoftEdgesSize()

Get Soft Edges Size

Return Value

string