ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
PHPExcel_Chart_Layout Class Reference
+ Collaboration diagram for PHPExcel_Chart_Layout:

Public Member Functions

 __construct ($layout=array())
 Create a new PHPExcel_Chart_Layout. More...
 
 getLayoutTarget ()
 Get Layout Target. More...
 
 setLayoutTarget ($value)
 Set Layout Target. More...
 
 getXMode ()
 Get X-Mode. More...
 
 setXMode ($value)
 Set X-Mode. More...
 
 getYMode ()
 Get Y-Mode. More...
 
 setYMode ($value)
 Set Y-Mode. More...
 
 getXPosition ()
 Get X-Position. More...
 
 setXPosition ($value)
 Set X-Position. More...
 
 getYPosition ()
 Get Y-Position. More...
 
 setYPosition ($value)
 Set Y-Position. More...
 
 getWidth ()
 Get Width. More...
 
 setWidth ($value)
 Set Width. More...
 
 getHeight ()
 Get Height. More...
 
 setHeight ($value)
 Set Height. More...
 
 getShowLegendKey ()
 Get show legend key. More...
 
 setShowLegendKey ($value)
 Set show legend key Specifies that legend keys should be shown in data labels. More...
 
 getShowVal ()
 Get show value. More...
 
 setShowVal ($value)
 Set show val Specifies that the value should be shown in data labels. More...
 
 getShowCatName ()
 Get show category name. More...
 
 setShowCatName ($value)
 Set show cat name Specifies that the category name should be shown in data labels. More...
 
 getShowSerName ()
 Get show data series name. More...
 
 setShowSerName ($value)
 Set show ser name Specifies that the series name should be shown in data labels. More...
 
 getShowPercent ()
 Get show percentage. More...
 
 setShowPercent ($value)
 Set show percentage Specifies that the percentage should be shown in data labels. More...
 
 getShowBubbleSize ()
 Get show bubble size. More...
 
 setShowBubbleSize ($value)
 Set show bubble size Specifies that the bubble size should be shown in data labels. More...
 
 getShowLeaderLines ()
 Get show leader lines. More...
 
 setShowLeaderLines ($value)
 Set show leader lines Specifies that leader lines should be shown in data labels. More...
 

Private Attributes

 $_layoutTarget = NULL
 
 $_xMode = NULL
 
 $_yMode = NULL
 
 $_xPos = NULL
 
 $_yPos = NULL
 
 $_width = NULL
 
 $_height = NULL
 
 $_showLegendKey = NULL
 
 $_showVal = NULL
 
 $_showCatName = NULL
 
 $_showSerName = NULL
 
 $_showPercent = NULL
 
 $_showBubbleSize = NULL
 
 $_showLeaderLines = NULL
 

Detailed Description

Definition at line 36 of file Layout.php.

Constructor & Destructor Documentation

◆ __construct()

PHPExcel_Chart_Layout::__construct (   $layout = array())

Create a new PHPExcel_Chart_Layout.

Definition at line 146 of file Layout.php.

References $layout.

147  {
148  if (isset($layout['layoutTarget'])) { $this->_layoutTarget = $layout['layoutTarget']; }
149  if (isset($layout['xMode'])) { $this->_xMode = $layout['xMode']; }
150  if (isset($layout['yMode'])) { $this->_yMode = $layout['yMode']; }
151  if (isset($layout['x'])) { $this->_xPos = (float) $layout['x']; }
152  if (isset($layout['y'])) { $this->_yPos = (float) $layout['y']; }
153  if (isset($layout['w'])) { $this->_width = (float) $layout['w']; }
154  if (isset($layout['h'])) { $this->_height = (float) $layout['h']; }
155  }

Member Function Documentation

◆ getHeight()

PHPExcel_Chart_Layout::getHeight ( )

Get Height.

Returns
number

Definition at line 282 of file Layout.php.

References $_height.

282  {
283  return $this->_height;
284  }

◆ getLayoutTarget()

PHPExcel_Chart_Layout::getLayoutTarget ( )

Get Layout Target.

Returns
string

Definition at line 162 of file Layout.php.

References $_layoutTarget.

162  {
163  return $this->_layoutTarget;
164  }

◆ getShowBubbleSize()

PHPExcel_Chart_Layout::getShowBubbleSize ( )

Get show bubble size.

Returns
boolean

Definition at line 408 of file Layout.php.

References $_showBubbleSize.

408  {
409  return $this->_showBubbleSize;
410  }

◆ getShowCatName()

PHPExcel_Chart_Layout::getShowCatName ( )

Get show category name.

Returns
boolean

Definition at line 345 of file Layout.php.

References $_showCatName.

345  {
346  return $this->_showCatName;
347  }

◆ getShowLeaderLines()

PHPExcel_Chart_Layout::getShowLeaderLines ( )

Get show leader lines.

Returns
boolean

Definition at line 429 of file Layout.php.

References $_showLeaderLines.

429  {
431  }

◆ getShowLegendKey()

PHPExcel_Chart_Layout::getShowLegendKey ( )

Get show legend key.

Returns
boolean

Definition at line 303 of file Layout.php.

References $_showLegendKey.

303  {
304  return $this->_showLegendKey;
305  }

◆ getShowPercent()

PHPExcel_Chart_Layout::getShowPercent ( )

Get show percentage.

Returns
boolean

Definition at line 387 of file Layout.php.

References $_showPercent.

387  {
388  return $this->_showPercent;
389  }

◆ getShowSerName()

PHPExcel_Chart_Layout::getShowSerName ( )

Get show data series name.

Returns
boolean

Definition at line 366 of file Layout.php.

References $_showSerName.

366  {
367  return $this->_showSerName;
368  }

◆ getShowVal()

PHPExcel_Chart_Layout::getShowVal ( )

Get show value.

Returns
boolean

Definition at line 324 of file Layout.php.

References $_showVal.

324  {
325  return $this->_showVal;
326  }

◆ getWidth()

PHPExcel_Chart_Layout::getWidth ( )

Get Width.

Returns
number

Definition at line 262 of file Layout.php.

References $_width.

262  {
263  return $this->_width;
264  }

◆ getXMode()

PHPExcel_Chart_Layout::getXMode ( )

Get X-Mode.

Returns
string

Definition at line 182 of file Layout.php.

References $_xMode.

182  {
183  return $this->_xMode;
184  }

◆ getXPosition()

PHPExcel_Chart_Layout::getXPosition ( )

Get X-Position.

Returns
number

Definition at line 222 of file Layout.php.

References $_xPos.

222  {
223  return $this->_xPos;
224  }

◆ getYMode()

PHPExcel_Chart_Layout::getYMode ( )

Get Y-Mode.

Returns
string

Definition at line 202 of file Layout.php.

References $_yMode.

202  {
203  return $this->_yMode;
204  }

◆ getYPosition()

PHPExcel_Chart_Layout::getYPosition ( )

Get Y-Position.

Returns
number

Definition at line 242 of file Layout.php.

References $_yPos.

242  {
243  return $this->_yPos;
244  }

◆ setHeight()

PHPExcel_Chart_Layout::setHeight (   $value)

Set Height.

Parameters
Height$value
Returns
PHPExcel_Chart_Layout

Definition at line 292 of file Layout.php.

292  {
293  $this->_height = $value;
294  return $this;
295  }

◆ setLayoutTarget()

PHPExcel_Chart_Layout::setLayoutTarget (   $value)

Set Layout Target.

Parameters
LayoutTarget $value
Returns
PHPExcel_Chart_Layout

Definition at line 172 of file Layout.php.

Referenced by LayoutTest\testGetLayoutTarget().

172  {
173  $this->_layoutTarget = $value;
174  return $this;
175  }
+ Here is the caller graph for this function:

◆ setShowBubbleSize()

PHPExcel_Chart_Layout::setShowBubbleSize (   $value)

Set show bubble size Specifies that the bubble size should be shown in data labels.

Parameters
boolean$valueShow bubble size
Returns
PHPExcel_Chart_Layout

Definition at line 419 of file Layout.php.

419  {
420  $this->_showBubbleSize = $value;
421  return $this;
422  }

◆ setShowCatName()

PHPExcel_Chart_Layout::setShowCatName (   $value)

Set show cat name Specifies that the category name should be shown in data labels.

Parameters
boolean$valueShow cat name
Returns
PHPExcel_Chart_Layout

Definition at line 356 of file Layout.php.

356  {
357  $this->_showCatName = $value;
358  return $this;
359  }

◆ setShowLeaderLines()

PHPExcel_Chart_Layout::setShowLeaderLines (   $value)

Set show leader lines Specifies that leader lines should be shown in data labels.

Parameters
boolean$valueShow leader lines
Returns
PHPExcel_Chart_Layout

Definition at line 440 of file Layout.php.

440  {
441  $this->_showLeaderLines = $value;
442  return $this;
443  }

◆ setShowLegendKey()

PHPExcel_Chart_Layout::setShowLegendKey (   $value)

Set show legend key Specifies that legend keys should be shown in data labels.

Parameters
boolean$valueShow legend key
Returns
PHPExcel_Chart_Layout

Definition at line 314 of file Layout.php.

314  {
315  $this->_showLegendKey = $value;
316  return $this;
317  }

◆ setShowPercent()

PHPExcel_Chart_Layout::setShowPercent (   $value)

Set show percentage Specifies that the percentage should be shown in data labels.

Parameters
boolean$valueShow percentage
Returns
PHPExcel_Chart_Layout

Definition at line 398 of file Layout.php.

398  {
399  $this->_showPercent = $value;
400  return $this;
401  }

◆ setShowSerName()

PHPExcel_Chart_Layout::setShowSerName (   $value)

Set show ser name Specifies that the series name should be shown in data labels.

Parameters
boolean$valueShow series name
Returns
PHPExcel_Chart_Layout

Definition at line 377 of file Layout.php.

377  {
378  $this->_showSerName = $value;
379  return $this;
380  }

◆ setShowVal()

PHPExcel_Chart_Layout::setShowVal (   $value)

Set show val Specifies that the value should be shown in data labels.

Parameters
boolean$valueShow val
Returns
PHPExcel_Chart_Layout

Definition at line 335 of file Layout.php.

335  {
336  $this->_showVal = $value;
337  return $this;
338  }

◆ setWidth()

PHPExcel_Chart_Layout::setWidth (   $value)

Set Width.

Parameters
Width$value
Returns
PHPExcel_Chart_Layout

Definition at line 272 of file Layout.php.

272  {
273  $this->_width = $value;
274  return $this;
275  }

◆ setXMode()

PHPExcel_Chart_Layout::setXMode (   $value)

Set X-Mode.

Parameters
X-Mode$value
Returns
PHPExcel_Chart_Layout

Definition at line 192 of file Layout.php.

192  {
193  $this->_xMode = $value;
194  return $this;
195  }

◆ setXPosition()

PHPExcel_Chart_Layout::setXPosition (   $value)

Set X-Position.

Parameters
X-Position$value
Returns
PHPExcel_Chart_Layout

Definition at line 232 of file Layout.php.

232  {
233  $this->_xPos = $value;
234  return $this;
235  }

◆ setYMode()

PHPExcel_Chart_Layout::setYMode (   $value)

Set Y-Mode.

Parameters
Y-Mode$value
Returns
PHPExcel_Chart_Layout

Definition at line 212 of file Layout.php.

212  {
213  $this->_yMode = $value;
214  return $this;
215  }

◆ setYPosition()

PHPExcel_Chart_Layout::setYPosition (   $value)

Set Y-Position.

Parameters
Y-Position$value
Returns
PHPExcel_Chart_Layout

Definition at line 252 of file Layout.php.

252  {
253  $this->_yPos = $value;
254  return $this;
255  }

Field Documentation

◆ $_height

PHPExcel_Chart_Layout::$_height = NULL
private

Definition at line 85 of file Layout.php.

Referenced by getHeight().

◆ $_layoutTarget

PHPExcel_Chart_Layout::$_layoutTarget = NULL
private

Definition at line 43 of file Layout.php.

Referenced by getLayoutTarget().

◆ $_showBubbleSize

PHPExcel_Chart_Layout::$_showBubbleSize = NULL
private

Definition at line 132 of file Layout.php.

Referenced by getShowBubbleSize().

◆ $_showCatName

PHPExcel_Chart_Layout::$_showCatName = NULL
private

Definition at line 109 of file Layout.php.

Referenced by getShowCatName().

◆ $_showLeaderLines

PHPExcel_Chart_Layout::$_showLeaderLines = NULL
private

Definition at line 140 of file Layout.php.

Referenced by getShowLeaderLines().

◆ $_showLegendKey

PHPExcel_Chart_Layout::$_showLegendKey = NULL
private

Definition at line 93 of file Layout.php.

Referenced by getShowLegendKey().

◆ $_showPercent

PHPExcel_Chart_Layout::$_showPercent = NULL
private

Definition at line 125 of file Layout.php.

Referenced by getShowPercent().

◆ $_showSerName

PHPExcel_Chart_Layout::$_showSerName = NULL
private

Definition at line 117 of file Layout.php.

Referenced by getShowSerName().

◆ $_showVal

PHPExcel_Chart_Layout::$_showVal = NULL
private

Definition at line 101 of file Layout.php.

Referenced by getShowVal().

◆ $_width

PHPExcel_Chart_Layout::$_width = NULL
private

Definition at line 78 of file Layout.php.

Referenced by getWidth().

◆ $_xMode

PHPExcel_Chart_Layout::$_xMode = NULL
private

Definition at line 50 of file Layout.php.

Referenced by getXMode().

◆ $_xPos

PHPExcel_Chart_Layout::$_xPos = NULL
private

Definition at line 64 of file Layout.php.

Referenced by getXPosition().

◆ $_yMode

PHPExcel_Chart_Layout::$_yMode = NULL
private

Definition at line 57 of file Layout.php.

Referenced by getYMode().

◆ $_yPos

PHPExcel_Chart_Layout::$_yPos = NULL
private

Definition at line 71 of file Layout.php.

Referenced by getYPosition().


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