ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
PHPExcel_Chart_Axis Class Reference

Created by PhpStorm. More...

+ Inheritance diagram for PHPExcel_Chart_Axis:
+ Collaboration diagram for PHPExcel_Chart_Axis:

Public Member Functions

 setAxisNumberProperties ($format_code)
 Get Series Data Type. More...
 
 getAxisNumberFormat ()
 Get Axis Number Format Data Type. More...
 
 getAxisNumberSourceLinked ()
 Get Axis Number Source Linked. More...
 
 setAxisOptionsProperties ($axis_labels, $horizontal_crosses_value=NULL, $horizontal_crosses=NULL, $axis_orientation=NULL, $major_tmt=NULL, $minor_tmt=NULL, $minimum=NULL, $maximum=NULL, $major_unit=NULL, $minor_unit=NULL)
 Set Axis Options Properties. More...
 
 getAxisOptionsProperty ($property)
 Get Axis Options Property. More...
 
 setAxisOrientation ($orientation)
 Set Axis Orientation Property. More...
 
 setFillParameters ($color, $alpha=0, $type=self::EXCEL_COLOR_TYPE_ARGB)
 Set Fill Property. More...
 
 setLineParameters ($color, $alpha=0, $type=self::EXCEL_COLOR_TYPE_ARGB)
 Set Line Property. More...
 
 getFillProperty ($property)
 Get Fill Property. More...
 
 getLineProperty ($property)
 Get Line Property. More...
 
 setLineStyleProperties ($line_width=NULL, $compound_type=NULL, $dash_type=NULL, $cap_type=NULL, $join_type=NULL, $head_arrow_type=NULL, $head_arrow_size=NULL, $end_arrow_type=NULL, $end_arrow_size=NULL)
 Set Line Style Properties. More...
 
 getLineStyleProperty ($elements)
 Get Line Style Property. More...
 
 getLineStyleArrowWidth ($arrow)
 Get Line Style Arrow Excel Width. More...
 
 getLineStyleArrowLength ($arrow)
 Get Line Style Arrow Excel Length. More...
 
 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. More...
 
 getShadowProperty ($elements)
 Get Glow Property. More...
 
 setGlowProperties ($size, $color_value=NULL, $color_alpha=NULL, $color_type=NULL)
 Set Glow Properties. More...
 
 getGlowProperty ($property)
 Get Glow Property. More...
 
 setSoftEdges ($size)
 Set Soft Edges Size. More...
 
 getSoftEdgesSize ()
 Get Soft Edges Size. More...
 

Private Member Functions

 _setShadowPresetsProperties ($shadow_presets)
 Set Shadow Color. More...
 
 _setShadowProperiesMapValues (array $properties_map, &$reference=NULL)
 Set Shadow Properties from Maped Values. More...
 
 _setShadowColor ($color, $alpha, $type)
 Set Shadow Color. More...
 
 _setShadowBlur ($blur)
 Set Shadow Blur. More...
 
 _setShadowAngle ($angle)
 Set Shadow Angle. More...
 
 _setShadowDistance ($distance)
 Set Shadow Distance. More...
 
 _setGlowSize ($size)
 Set Glow Color. More...
 
 _setGlowColor ($color, $alpha, $type)
 Set Glow Color. More...
 

Private Attributes

 $_axis_number
 
 $_axis_options
 
 $_fill_properties
 
 $_line_properties
 
 $_line_style_properties
 
 $_shadow_properties
 
 $_glow_properties
 
 $_soft_edges
 

Additional Inherited Members

- Data Fields inherited from PHPExcel_Properties
const EXCEL_COLOR_TYPE_STANDARD = 'prstClr'
 
const EXCEL_COLOR_TYPE_SCHEME = 'schemeClr'
 
const EXCEL_COLOR_TYPE_ARGB = 'srgbClr'
 
const AXIS_LABELS_LOW = 'low'
 
const AXIS_LABELS_HIGH = 'high'
 
const AXIS_LABELS_NEXT_TO = 'nextTo'
 
const AXIS_LABELS_NONE = 'none'
 
const TICK_MARK_NONE = 'none'
 
const TICK_MARK_INSIDE = 'in'
 
const TICK_MARK_OUTSIDE = 'out'
 
const TICK_MARK_CROSS = 'cross'
 
const HORIZONTAL_CROSSES_AUTOZERO = 'autoZero'
 
const HORIZONTAL_CROSSES_MAXIMUM = 'max'
 
const FORMAT_CODE_GENERAL = 'General'
 
const FORMAT_CODE_NUMBER = '#,##0.00'
 
const FORMAT_CODE_CURRENCY = '$#,##0.00'
 
const FORMAT_CODE_ACCOUNTING = '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)'
 
const FORMAT_CODE_DATE = 'm/d/yyyy'
 
const FORMAT_CODE_TIME = '[$-F400]h:mm:ss AM/PM'
 
const FORMAT_CODE_PERCENTAGE = '0.00%'
 
const FORMAT_CODE_FRACTION = '# ?/?'
 
const FORMAT_CODE_SCIENTIFIC = '0.00E+00'
 
const FORMAT_CODE_TEXT = '@'
 
const FORMAT_CODE_SPECIAL = '00000'
 
const ORIENTATION_NORMAL = 'minMax'
 
const ORIENTATION_REVERSED = 'maxMin'
 
const LINE_STYLE_COMPOUND_SIMPLE = 'sng'
 
const LINE_STYLE_COMPOUND_DOUBLE = 'dbl'
 
const LINE_STYLE_COMPOUND_THICKTHIN = 'thickThin'
 
const LINE_STYLE_COMPOUND_THINTHICK = 'thinThick'
 
const LINE_STYLE_COMPOUND_TRIPLE = 'tri'
 
const LINE_STYLE_DASH_SOLID = 'solid'
 
const LINE_STYLE_DASH_ROUND_DOT = 'sysDot'
 
const LINE_STYLE_DASH_SQUERE_DOT = 'sysDash'
 
const LINE_STYPE_DASH_DASH = 'dash'
 
const LINE_STYLE_DASH_DASH_DOT = 'dashDot'
 
const LINE_STYLE_DASH_LONG_DASH = 'lgDash'
 
const LINE_STYLE_DASH_LONG_DASH_DOT = 'lgDashDot'
 
const LINE_STYLE_DASH_LONG_DASH_DOT_DOT = 'lgDashDotDot'
 
const LINE_STYLE_CAP_SQUARE = 'sq'
 
const LINE_STYLE_CAP_ROUND = 'rnd'
 
const LINE_STYLE_CAP_FLAT = 'flat'
 
const LINE_STYLE_JOIN_ROUND = 'bevel'
 
const LINE_STYLE_JOIN_MITER = 'miter'
 
const LINE_STYLE_JOIN_BEVEL = 'bevel'
 
const LINE_STYLE_ARROW_TYPE_NOARROW = NULL
 
const LINE_STYLE_ARROW_TYPE_ARROW = 'triangle'
 
const LINE_STYLE_ARROW_TYPE_OPEN = 'arrow'
 
const LINE_STYLE_ARROW_TYPE_STEALTH = 'stealth'
 
const LINE_STYLE_ARROW_TYPE_DIAMOND = 'diamond'
 
const LINE_STYLE_ARROW_TYPE_OVAL = 'oval'
 
const LINE_STYLE_ARROW_SIZE_1 = 1
 
const LINE_STYLE_ARROW_SIZE_2 = 2
 
const LINE_STYLE_ARROW_SIZE_3 = 3
 
const LINE_STYLE_ARROW_SIZE_4 = 4
 
const LINE_STYLE_ARROW_SIZE_5 = 5
 
const LINE_STYLE_ARROW_SIZE_6 = 6
 
const LINE_STYLE_ARROW_SIZE_7 = 7
 
const LINE_STYLE_ARROW_SIZE_8 = 8
 
const LINE_STYLE_ARROW_SIZE_9 = 9
 
const SHADOW_PRESETS_NOSHADOW = NULL
 
const SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT = 1
 
const SHADOW_PRESETS_OUTER_BOTTOM = 2
 
const SHADOW_PRESETS_OUTER_BOTTOM_LEFT = 3
 
const SHADOW_PRESETS_OUTER_RIGHT = 4
 
const SHADOW_PRESETS_OUTER_CENTER = 5
 
const SHADOW_PRESETS_OUTER_LEFT = 6
 
const SHADOW_PRESETS_OUTER_TOP_RIGHT = 7
 
const SHADOW_PRESETS_OUTER_TOP = 8
 
const SHADOW_PRESETS_OUTER_TOP_LEFT = 9
 
const SHADOW_PRESETS_INNER_BOTTTOM_RIGHT = 10
 
const SHADOW_PRESETS_INNER_BOTTOM = 11
 
const SHADOW_PRESETS_INNER_BOTTOM_LEFT = 12
 
const SHADOW_PRESETS_INNER_RIGHT = 13
 
const SHADOW_PRESETS_INNER_CENTER = 14
 
const SHADOW_PRESETS_INNER_LEFT = 15
 
const SHADOW_PRESETS_INNER_TOP_RIGHT = 16
 
const SHADOW_PRESETS_INNER_TOP = 17
 
const SHADOW_PRESETS_INNER_TOP_LEFT = 18
 
const SHADOW_PRESETS_PERSPECTIVE_BELOW = 19
 
const SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT = 20
 
const SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT = 21
 
const SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT = 22
 
const SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT = 23
 
- Protected Member Functions inherited from PHPExcel_Properties
 getExcelPointsWidth ($width)
 
 getExcelPointsAngle ($angle)
 
 getTrueAlpha ($alpha)
 
 setColorProperties ($color, $alpha, $type)
 
 getLineStyleArrowSize ($array_selector, $array_kay_selector)
 
 getShadowPresetsMap ($shadow_presets_option)
 
 getArrayElementsValue ($properties, $elements)
 

Detailed Description

Created by PhpStorm.

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

Definition at line 11 of file Axis.php.

Member Function Documentation

◆ _setGlowColor()

PHPExcel_Chart_Axis::_setGlowColor (   $color,
  $alpha,
  $type 
)
private

Set Glow Color.

Parameters
string$color
int$alpha
string$type
Returns
PHPExcel_Chart_Axis

Definition at line 557 of file Axis.php.

References PHPExcel_Properties\setColorProperties().

557  {
558  $this->_glow_properties['color'] = $this->setColorProperties($color, $alpha, $type);
559 
560  return $this;
561  }
setColorProperties($color, $alpha, $type)
Definition: Properties.php:128
+ Here is the call graph for this function:

◆ _setGlowSize()

PHPExcel_Chart_Axis::_setGlowSize (   $size)
private

Set Glow Color.

Parameters
float$size
Returns
PHPExcel_Chart_Axis

Definition at line 539 of file Axis.php.

References $size, and PHPExcel_Properties\getExcelPointsWidth().

539  {
540  if (!is_null($size)) {
541  $this->_glow_properties['size'] = $this->getExcelPointsWidth($size);
542  }
543 
544  return $this;
545  }
$size
Definition: RandomTest.php:79
getExcelPointsWidth($width)
Definition: Properties.php:116
+ Here is the call graph for this function:

◆ _setShadowAngle()

PHPExcel_Chart_Axis::_setShadowAngle (   $angle)
private

Set Shadow Angle.

Parameters
int$angle
Returns
PHPExcel_Chart_Axis

Definition at line 464 of file Axis.php.

References $angle, PHPExcel_Properties\getExcelPointsAngle(), and string.

464  {
465  if ($angle !== NULL) {
466  $this->_shadow_properties['direction'] = (string) $this->getExcelPointsAngle($angle);
467  }
468 
469  return $this;
470  }
Add rich text string
The name of the decorator.
$angle
getExcelPointsAngle($angle)
Definition: Properties.php:120
+ Here is the call graph for this function:

◆ _setShadowBlur()

PHPExcel_Chart_Axis::_setShadowBlur (   $blur)
private

Set Shadow Blur.

Parameters
float$blur
Returns
PHPExcel_Chart_Axis

Definition at line 448 of file Axis.php.

References PHPExcel_Properties\getExcelPointsWidth(), and string.

448  {
449  if ($blur !== NULL) {
450  $this->_shadow_properties['blur'] = (string) $this->getExcelPointsWidth($blur);
451  }
452 
453  return $this;
454  }
Add rich text string
The name of the decorator.
getExcelPointsWidth($width)
Definition: Properties.php:116
+ Here is the call graph for this function:

◆ _setShadowColor()

PHPExcel_Chart_Axis::_setShadowColor (   $color,
  $alpha,
  $type 
)
private

Set Shadow Color.

Parameters
string$color
int$alpha
string$type
Returns
PHPExcel_Chart_Axis

Definition at line 434 of file Axis.php.

References PHPExcel_Properties\setColorProperties().

434  {
435  $this->_shadow_properties['color'] = $this->setColorProperties($color, $alpha, $type);
436 
437  return $this;
438  }
setColorProperties($color, $alpha, $type)
Definition: Properties.php:128
+ Here is the call graph for this function:

◆ _setShadowDistance()

PHPExcel_Chart_Axis::_setShadowDistance (   $distance)
private

Set Shadow Distance.

Parameters
float$distance
Returns
PHPExcel_Chart_Axis

Definition at line 480 of file Axis.php.

References PHPExcel_Properties\getExcelPointsWidth(), and string.

480  {
481  if ($distance !== NULL) {
482  $this->_shadow_properties['distance'] = (string) $this->getExcelPointsWidth($distance);
483  }
484 
485  return $this;
486  }
Add rich text string
The name of the decorator.
getExcelPointsWidth($width)
Definition: Properties.php:116
+ Here is the call graph for this function:

◆ _setShadowPresetsProperties()

PHPExcel_Chart_Axis::_setShadowPresetsProperties (   $shadow_presets)
private

Set Shadow Color.

Parameters
int$shadow_presets
Returns
PHPExcel_Chart_Axis

Definition at line 386 of file Axis.php.

References _setShadowProperiesMapValues(), and PHPExcel_Properties\getShadowPresetsMap().

386  {
387  $this->_shadow_properties['presets'] = $shadow_presets;
388  $this->_setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets));
389 
390  return $this;
391  }
getShadowPresetsMap($shadow_presets_option)
Definition: Properties.php:152
_setShadowProperiesMapValues(array $properties_map, &$reference=NULL)
Set Shadow Properties from Maped Values.
Definition: Axis.php:402
+ Here is the call graph for this function:

◆ _setShadowProperiesMapValues()

PHPExcel_Chart_Axis::_setShadowProperiesMapValues ( array  $properties_map,
$reference = NULL 
)
private

Set Shadow Properties from Maped Values.

Parameters
array$properties_map
*$reference
Returns
PHPExcel_Chart_Axis

Definition at line 402 of file Axis.php.

Referenced by _setShadowPresetsProperties().

402  {
403  $base_reference = $reference;
404  foreach ($properties_map as $property_key => $property_val) {
405  if (is_array($property_val)) {
406  if ($reference === NULL) {
407  $reference = & $this->_shadow_properties[$property_key];
408  } else {
409  $reference = & $reference[$property_key];
410  }
411  $this->_setShadowProperiesMapValues($property_val, $reference);
412  } else {
413  if ($base_reference === NULL) {
414  $this->_shadow_properties[$property_key] = $property_val;
415  } else {
416  $reference[$property_key] = $property_val;
417  }
418  }
419  }
420 
421  return $this;
422  }
_setShadowProperiesMapValues(array $properties_map, &$reference=NULL)
Set Shadow Properties from Maped Values.
Definition: Axis.php:402
+ Here is the caller graph for this function:

◆ getAxisNumberFormat()

PHPExcel_Chart_Axis::getAxisNumberFormat ( )

Get Axis Number Format Data Type.

Returns
string

Definition at line 161 of file Axis.php.

161  {
162  return $this->_axis_number['format'];
163  }

◆ getAxisNumberSourceLinked()

PHPExcel_Chart_Axis::getAxisNumberSourceLinked ( )

Get Axis Number Source Linked.

Returns
string

Definition at line 171 of file Axis.php.

171  {
172  return (string) $this->_axis_number['source_linked'];
173  }

◆ getAxisOptionsProperty()

PHPExcel_Chart_Axis::getAxisOptionsProperty (   $property)

Get Axis Options Property.

Parameters
string$property
Returns
string

Definition at line 217 of file Axis.php.

217  {
218  return $this->_axis_options[$property];
219  }

◆ getFillProperty()

PHPExcel_Chart_Axis::getFillProperty (   $property)

Get Fill Property.

Parameters
string$property
Returns
string

Definition at line 266 of file Axis.php.

266  {
267  return $this->_fill_properties[$property];
268  }

◆ getGlowProperty()

PHPExcel_Chart_Axis::getGlowProperty (   $property)

Get Glow Property.

Parameters
array | string$property
Returns
string

Definition at line 527 of file Axis.php.

References PHPExcel_Properties\getArrayElementsValue().

527  {
528  return $this->getArrayElementsValue($this->_glow_properties, $property);
529  }
getArrayElementsValue($properties, $elements)
Definition: Properties.php:344
+ Here is the call graph for this function:

◆ getLineProperty()

PHPExcel_Chart_Axis::getLineProperty (   $property)

Get Line Property.

Parameters
string$property
Returns
string

Definition at line 278 of file Axis.php.

278  {
279  return $this->_line_properties[$property];
280  }

◆ getLineStyleArrowLength()

PHPExcel_Chart_Axis::getLineStyleArrowLength (   $arrow)

Get Line Style Arrow Excel Length.

Parameters
string$arrow
Returns
string

Definition at line 349 of file Axis.php.

References PHPExcel_Properties\getLineStyleArrowSize().

349  {
350  return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'len');
351  }
getLineStyleArrowSize($array_selector, $array_kay_selector)
Definition: Properties.php:136
+ Here is the call graph for this function:

◆ getLineStyleArrowWidth()

PHPExcel_Chart_Axis::getLineStyleArrowWidth (   $arrow)

Get Line Style Arrow Excel Width.

Parameters
string$arrow
Returns
string

Definition at line 337 of file Axis.php.

References PHPExcel_Properties\getLineStyleArrowSize().

337  {
338  return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'w');
339  }
getLineStyleArrowSize($array_selector, $array_kay_selector)
Definition: Properties.php:136
+ Here is the call graph for this function:

◆ getLineStyleProperty()

PHPExcel_Chart_Axis::getLineStyleProperty (   $elements)

Get Line Style Property.

Parameters
array | string$elements
Returns
string

Definition at line 325 of file Axis.php.

References PHPExcel_Properties\getArrayElementsValue().

325  {
326  return $this->getArrayElementsValue($this->_line_style_properties, $elements);
327  }
getArrayElementsValue($properties, $elements)
Definition: Properties.php:344
+ Here is the call graph for this function:

◆ getShadowProperty()

PHPExcel_Chart_Axis::getShadowProperty (   $elements)

Get Glow Property.

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

Definition at line 497 of file Axis.php.

References PHPExcel_Properties\getArrayElementsValue().

497  {
498  return $this->getArrayElementsValue($this->_shadow_properties, $elements);
499  }
getArrayElementsValue($properties, $elements)
Definition: Properties.php:344
+ Here is the call graph for this function:

◆ getSoftEdgesSize()

PHPExcel_Chart_Axis::getSoftEdgesSize ( )

Get Soft Edges Size.

Returns
string

Definition at line 581 of file Axis.php.

581  {
582  return $this->_soft_edges['size'];
583  }

◆ setAxisNumberProperties()

PHPExcel_Chart_Axis::setAxisNumberProperties (   $format_code)

Get Series Data Type.

Returns
string

Definition at line 150 of file Axis.php.

References string.

150  {
151  $this->_axis_number['format'] = (string) $format_code;
152  $this->_axis_number['source_linked'] = 0;
153  }
Add rich text string
The name of the decorator.

◆ setAxisOptionsProperties()

PHPExcel_Chart_Axis::setAxisOptionsProperties (   $axis_labels,
  $horizontal_crosses_value = NULL,
  $horizontal_crosses = NULL,
  $axis_orientation = NULL,
  $major_tmt = NULL,
  $minor_tmt = NULL,
  $minimum = NULL,
  $maximum = NULL,
  $major_unit = NULL,
  $minor_unit = NULL 
)

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

Definition at line 191 of file Axis.php.

References string.

193  {
194 
195  $this->_axis_options['axis_labels'] = (string) $axis_labels;
196  ($horizontal_crosses_value !== NULL)
197  ? $this->_axis_options['horizontal_crosses_value'] = (string) $horizontal_crosses_value : NULL;
198  ($horizontal_crosses !== NULL) ? $this->_axis_options['horizontal_crosses'] = (string) $horizontal_crosses : NULL;
199  ($axis_orientation !== NULL) ? $this->_axis_options['orientation'] = (string) $axis_orientation : NULL;
200  ($major_tmt !== NULL) ? $this->_axis_options['major_tick_mark'] = (string) $major_tmt : NULL;
201  ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL;
202  ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL;
203  ($minimum !== NULL) ? $this->_axis_options['minimum'] = (string) $minimum : NULL;
204  ($maximum !== NULL) ? $this->_axis_options['maximum'] = (string) $maximum : NULL;
205  ($major_unit !== NULL) ? $this->_axis_options['major_unit'] = (string) $major_unit : NULL;
206  ($minor_unit !== NULL) ? $this->_axis_options['minor_unit'] = (string) $minor_unit : NULL;
207  }
Add rich text string
The name of the decorator.

◆ setAxisOrientation()

PHPExcel_Chart_Axis::setAxisOrientation (   $orientation)

Set Axis Orientation Property.

Parameters
string$orientation

Definition at line 228 of file Axis.php.

References string.

228  {
229  $this->orientation = (string) $orientation;
230  }
Add rich text string
The name of the decorator.

◆ setFillParameters()

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

Set Fill Property.

Parameters
string$color
int$alpha
string$type

Definition at line 241 of file Axis.php.

References PHPExcel_Properties\setColorProperties().

241  {
242  $this->_fill_properties = $this->setColorProperties($color, $alpha, $type);
243  }
setColorProperties($color, $alpha, $type)
Definition: Properties.php:128
+ Here is the call graph for this function:

◆ setGlowProperties()

PHPExcel_Chart_Axis::setGlowProperties (   $size,
  $color_value = NULL,
  $color_alpha = NULL,
  $color_type = NULL 
)

Set Glow Properties.

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

Definition at line 510 of file Axis.php.

References $size.

510  {
511  $this
512  ->_setGlowSize($size)
513  ->_setGlowColor(
514  is_null($color_value) ? $this->_glow_properties['color']['value'] : $color_value
515  , is_null($color_alpha) ? (int) $this->_glow_properties['color']['alpha'] : $color_alpha
516  , is_null($color_type) ? $this->_glow_properties['color']['type'] : $color_type);
517  }
$size
Definition: RandomTest.php:79

◆ setLineParameters()

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

Set Line Property.

Parameters
string$color
int$alpha
string$type

Definition at line 254 of file Axis.php.

References PHPExcel_Properties\setColorProperties().

254  {
255  $this->_line_properties = $this->setColorProperties($color, $alpha, $type);
256  }
setColorProperties($color, $alpha, $type)
Definition: Properties.php:128
+ Here is the call graph for this function:

◆ setLineStyleProperties()

PHPExcel_Chart_Axis::setLineStyleProperties (   $line_width = NULL,
  $compound_type = NULL,
  $dash_type = NULL,
  $cap_type = NULL,
  $join_type = NULL,
  $head_arrow_type = NULL,
  $head_arrow_size = NULL,
  $end_arrow_type = NULL,
  $end_arrow_size = NULL 
)

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

Definition at line 297 of file Axis.php.

References PHPExcel_Properties\getExcelPointsWidth().

299  {
300 
301  (!is_null($line_width)) ? $this->_line_style_properties['width'] = $this->getExcelPointsWidth((float) $line_width)
302  : NULL;
303  (!is_null($compound_type)) ? $this->_line_style_properties['compound'] = (string) $compound_type : NULL;
304  (!is_null($dash_type)) ? $this->_line_style_properties['dash'] = (string) $dash_type : NULL;
305  (!is_null($cap_type)) ? $this->_line_style_properties['cap'] = (string) $cap_type : NULL;
306  (!is_null($join_type)) ? $this->_line_style_properties['join'] = (string) $join_type : NULL;
307  (!is_null($head_arrow_type)) ? $this->_line_style_properties['arrow']['head']['type'] = (string) $head_arrow_type
308  : NULL;
309  (!is_null($head_arrow_size)) ? $this->_line_style_properties['arrow']['head']['size'] = (string) $head_arrow_size
310  : NULL;
311  (!is_null($end_arrow_type)) ? $this->_line_style_properties['arrow']['end']['type'] = (string) $end_arrow_type
312  : NULL;
313  (!is_null($end_arrow_size)) ? $this->_line_style_properties['arrow']['end']['size'] = (string) $end_arrow_size
314  : NULL;
315  }
getExcelPointsWidth($width)
Definition: Properties.php:116
+ Here is the call graph for this function:

◆ setShadowProperties()

PHPExcel_Chart_Axis::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
int$shadow_presets
string$sh_color_value
string$sh_color_type
string$sh_color_alpha
float$sh_blur
int$sh_angle
float$sh_distance

Definition at line 366 of file Axis.php.

366  {
367  $this
368  ->_setShadowPresetsProperties((int) $sh_presets)
369  ->_setShadowColor(
370  is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value
371  , is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] : $sh_color_alpha
372  , is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type)
373  ->_setShadowBlur($sh_blur)
374  ->_setShadowAngle($sh_angle)
375  ->_setShadowDistance($sh_distance);
376  }

◆ setSoftEdges()

PHPExcel_Chart_Axis::setSoftEdges (   $size)

Set Soft Edges Size.

Parameters
float$size

Definition at line 569 of file Axis.php.

References $_soft_edges, $size, PHPExcel_Properties\getExcelPointsWidth(), and string.

569  {
570  if (!is_null($size)) {
571  $_soft_edges['size'] = (string) $this->getExcelPointsWidth($size);
572  }
573  }
$size
Definition: RandomTest.php:79
Add rich text string
The name of the decorator.
getExcelPointsWidth($width)
Definition: Properties.php:116
+ Here is the call graph for this function:

Field Documentation

◆ $_axis_number

PHPExcel_Chart_Axis::$_axis_number
private
Initial value:
'format' => self::FORMAT_CODE_GENERAL,
'source_linked' => 1
)

Definition at line 21 of file Axis.php.

◆ $_axis_options

PHPExcel_Chart_Axis::$_axis_options
private
Initial value:
'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
)

Definition at line 32 of file Axis.php.

◆ $_fill_properties

PHPExcel_Chart_Axis::$_fill_properties
private
Initial value:
'type' => self::EXCEL_COLOR_TYPE_ARGB,
'value' => NULL,
'alpha' => 0
)

Definition at line 51 of file Axis.php.

◆ $_glow_properties

PHPExcel_Chart_Axis::$_glow_properties
private
Initial value:
'size' => NULL,
'color' => array(
'type' => self::EXCEL_COLOR_TYPE_STANDARD,
'value' => 'black',
'alpha' => 40
)
)

Definition at line 125 of file Axis.php.

◆ $_line_properties

PHPExcel_Chart_Axis::$_line_properties
private
Initial value:
'type' => self::EXCEL_COLOR_TYPE_ARGB,
'value' => NULL,
'alpha' => 0
)

Definition at line 63 of file Axis.php.

◆ $_line_style_properties

PHPExcel_Chart_Axis::$_line_style_properties
private
Initial value:
'width' => '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' => array(
'head' => array(
'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,
'size' => self::LINE_STYLE_ARROW_SIZE_5
),
'end' => array(
'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,
'size' => self::LINE_STYLE_ARROW_SIZE_8
),
)
)

Definition at line 75 of file Axis.php.

◆ $_shadow_properties

PHPExcel_Chart_Axis::$_shadow_properties
private
Initial value:
'presets' => self::SHADOW_PRESETS_NOSHADOW,
'effect' => NULL,
'color' => array(
'type' => self::EXCEL_COLOR_TYPE_STANDARD,
'value' => 'black',
'alpha' => 40,
),
'size' => array(
'sx' => NULL,
'sy' => NULL,
'kx' => NULL
),
'blur' => NULL,
'direction' => NULL,
'distance' => NULL,
'algn' => NULL,
'rotWithShape' => NULL
)

Definition at line 99 of file Axis.php.

◆ $_soft_edges

PHPExcel_Chart_Axis::$_soft_edges
private
Initial value:
'size' => NULL
)

Definition at line 140 of file Axis.php.

Referenced by setSoftEdges().


The documentation for this class was generated from the following file: