ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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)
 
 getXMode ()
 Get X-Mode. More...
 
 setXMode ($value)
 
 getYMode ()
 Get Y-Mode. More...
 
 setYMode ($value)
 
 getXPosition ()
 Get X-Position. More...
 
 setXPosition ($value)
 
 getYPosition ()
 Get Y-Position. More...
 
 setYPosition ($value)
 
 getWidth ()
 Get Width. More...
 
 setWidth ($value)
 
 getHeight ()
 Get Height. More...
 
 setHeight ($value)
 
 getShowLegendKey ()
 Get show legend key. More...
 
 setShowLegendKey ($value)
 
 getShowVal ()
 Get show value. More...
 
 setShowVal ($value)
 
 getShowCatName ()
 Get show category name. More...
 
 setShowCatName ($value)
 
 getShowSerName ()
 Get show data series name. More...
 
 setShowSerName ($value)
 
 getShowPercent ()
 Get show percentage. More...
 
 setShowPercent ($value)
 
 getShowBubbleSize ()
 Get show bubble size. More...
 
 setShowBubbleSize ($value)
 
 getShowLeaderLines ()
 Get show leader lines. More...
 
 setShowLeaderLines ($value)
 

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.

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 }

References $layout.

Member Function Documentation

◆ getHeight()

PHPExcel_Chart_Layout::getHeight ( )

Get Height.

Returns
number

Definition at line 282 of file Layout.php.

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

References $_height.

◆ getLayoutTarget()

PHPExcel_Chart_Layout::getLayoutTarget ( )

Get Layout Target.

Returns
string

Definition at line 162 of file Layout.php.

162 {
164 }

References $_layoutTarget.

◆ getShowBubbleSize()

PHPExcel_Chart_Layout::getShowBubbleSize ( )

Get show bubble size.

Returns
boolean

Definition at line 408 of file Layout.php.

408 {
410 }

References $_showBubbleSize.

◆ getShowCatName()

PHPExcel_Chart_Layout::getShowCatName ( )

Get show category name.

Returns
boolean

Definition at line 345 of file Layout.php.

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

References $_showCatName.

◆ getShowLeaderLines()

PHPExcel_Chart_Layout::getShowLeaderLines ( )

Get show leader lines.

Returns
boolean

Definition at line 429 of file Layout.php.

429 {
431 }

References $_showLeaderLines.

◆ getShowLegendKey()

PHPExcel_Chart_Layout::getShowLegendKey ( )

Get show legend key.

Returns
boolean

Definition at line 303 of file Layout.php.

303 {
305 }

References $_showLegendKey.

◆ getShowPercent()

PHPExcel_Chart_Layout::getShowPercent ( )

Get show percentage.

Returns
boolean

Definition at line 387 of file Layout.php.

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

References $_showPercent.

◆ getShowSerName()

PHPExcel_Chart_Layout::getShowSerName ( )

Get show data series name.

Returns
boolean

Definition at line 366 of file Layout.php.

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

References $_showSerName.

◆ getShowVal()

PHPExcel_Chart_Layout::getShowVal ( )

Get show value.

Returns
boolean

Definition at line 324 of file Layout.php.

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

References $_showVal.

◆ getWidth()

PHPExcel_Chart_Layout::getWidth ( )

Get Width.

Returns
number

Definition at line 262 of file Layout.php.

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

References $_width.

◆ getXMode()

PHPExcel_Chart_Layout::getXMode ( )

Get X-Mode.

Returns
string

Definition at line 182 of file Layout.php.

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

References $_xMode.

◆ getXPosition()

PHPExcel_Chart_Layout::getXPosition ( )

Get X-Position.

Returns
number

Definition at line 222 of file Layout.php.

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

References $_xPos.

◆ getYMode()

PHPExcel_Chart_Layout::getYMode ( )

Get Y-Mode.

Returns
string

Definition at line 202 of file Layout.php.

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

References $_yMode.

◆ getYPosition()

PHPExcel_Chart_Layout::getYPosition ( )

Get Y-Position.

Returns
number

Definition at line 242 of file Layout.php.

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

References $_yPos.

◆ setHeight()

PHPExcel_Chart_Layout::setHeight (   $value)
Set Height

@param 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

@param Layout Target $value
Returns
PHPExcel_Chart_Layout

Definition at line 172 of file Layout.php.

172 {
173 $this->_layoutTarget = $value;
174 return $this;
175 }

Referenced by LayoutTest\testGetLayoutTarget().

+ 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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.

@param boolean $value               Show 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

@param 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

@param 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

@param 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

@param 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

@param 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: