Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Chart
  • PHPExcel_Chart_DataSeries
  • PHPExcel_Chart_DataSeriesValues
  • PHPExcel_Chart_Layout
  • PHPExcel_Chart_Legend
  • PHPExcel_Chart_PlotArea
  • PHPExcel_Chart_Title

Exceptions

  • PHPExcel_Chart_Exception
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Chart_Legend

PHPExcel_Chart_Legend

Package: PHPExcel\Chart
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Chart/Legend.php
Methods summary
public
# __construct( $position = PHPExcel_Chart_Legend::POSITION_RIGHT, PHPExcel_Chart_Layout $layout = NULL, $overlay = FALSE )

Create a new PHPExcel_Chart_Legend

Create a new PHPExcel_Chart_Legend

public string
# getPosition( )

Get legend position as an excel string value

Get legend position as an excel string value

Returns

string
public
# setPosition( string $position = PHPExcel_Chart_Legend::POSITION_RIGHT )

Get legend position using an excel string value

Get legend position using an excel string value

Parameters

$position
public number
# getPositionXL( )

Get legend position as an Excel internal numeric value

Get legend position as an Excel internal numeric value

Returns

number
public
# setPositionXL( number $positionXL = PHPExcel_Chart_Legend::xlLegendPositionRight )

Set legend position using an Excel internal numeric value

Set legend position using an Excel internal numeric value

Parameters

$positionXL
public boolean
# getOverlay( )

Get allow overlay of other elements?

Get allow overlay of other elements?

Returns

boolean
public boolean
# setOverlay( boolean $overlay = FALSE )

Set allow overlay of other elements?

Set allow overlay of other elements?

Parameters

$overlay

Returns

boolean
public PHPExcel_Chart_Layout
# getLayout( )

Get Layout

Get Layout

Returns

PHPExcel_Chart_Layout
Constants summary
integer xlLegendPositionBottom

Legend positions

Legend positions

# -4107
integer xlLegendPositionCorner
# 2
integer xlLegendPositionCustom
# -4161
integer xlLegendPositionLeft
# -4131
integer xlLegendPositionRight
# -4152
integer xlLegendPositionTop
# -4160
string POSITION_RIGHT
# 'r'
string POSITION_LEFT
# 'l'
string POSITION_BOTTOM
# 'b'
string POSITION_TOP
# 't'
string POSITION_TOPRIGHT
# 'tr'
Properties summary
private static array $_positionXLref
# array( self::xlLegendPositionBottom => self::POSITION_BOTTOM, self::xlLegendPositionCorner => self::POSITION_TOPRIGHT, self::xlLegendPositionCustom => '??', self::xlLegendPositionLeft => self::POSITION_LEFT, self::xlLegendPositionRight => self::POSITION_RIGHT, self::xlLegendPositionTop => self::POSITION_TOP )
private string $_position

Legend position

Legend position

# PHPExcel_Chart_Legend::POSITION_RIGHT
private boolean $_overlay

Allow overlay of other elements?

Allow overlay of other elements?

# TRUE
private PHPExcel_Chart_Layout $_layout

Legend Layout

Legend Layout

# NULL
Autene API documentation generated by ApiGen