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

PHPExcel_Chart

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.php
Methods summary
public
# __construct( $name, PHPExcel_Chart_Title $title = null, PHPExcel_Chart_Legend $legend = null, PHPExcel_Chart_PlotArea $plotArea = null, $plotVisibleOnly = true, $displayBlanksAs = '0', PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null )

Create a new PHPExcel_Chart

Create a new PHPExcel_Chart

public string
# getName( )

Get Name

Get Name

Returns

string
public PHPExcel_Worksheet
# getWorksheet( )

Get Worksheet

Get Worksheet

Returns

PHPExcel_Worksheet
public PHPExcel_Chart
# setWorksheet( PHPExcel_Worksheet $pValue = null )

Set Worksheet

Set Worksheet

Parameters

$pValue

Returns

PHPExcel_Chart

Throws

PHPExcel_Chart_Exception
public PHPExcel_Chart_Title
# getTitle( )

Get Title

Get Title

Returns

PHPExcel_Chart_Title
public PHPExcel_Chart
# setTitle( PHPExcel_Chart_Title $title )

Set Title

Set Title

Parameters

$title

Returns

PHPExcel_Chart
public PHPExcel_Chart_Legend
# getLegend( )

Get Legend

Get Legend

Returns

PHPExcel_Chart_Legend
public PHPExcel_Chart
# setLegend( PHPExcel_Chart_Legend $legend )

Set Legend

Set Legend

Parameters

$legend

Returns

PHPExcel_Chart
public PHPExcel_Chart_Title
# getXAxisLabel( )

Get X-Axis Label

Get X-Axis Label

Returns

PHPExcel_Chart_Title
public PHPExcel_Chart
# setXAxisLabel( PHPExcel_Chart_Title $label )

Set X-Axis Label

Set X-Axis Label

Parameters

$label

Returns

PHPExcel_Chart
public PHPExcel_Chart_Title
# getYAxisLabel( )

Get Y-Axis Label

Get Y-Axis Label

Returns

PHPExcel_Chart_Title
public PHPExcel_Chart
# setYAxisLabel( PHPExcel_Chart_Title $label )

Set Y-Axis Label

Set Y-Axis Label

Parameters

$label

Returns

PHPExcel_Chart
public PHPExcel_Chart_PlotArea
# getPlotArea( )

Get Plot Area

Get Plot Area

Returns

PHPExcel_Chart_PlotArea
public boolean
# getPlotVisibleOnly( )

Get Plot Visible Only

Get Plot Visible Only

Returns

boolean
public PHPExcel_Chart
# setPlotVisibleOnly( boolean $plotVisibleOnly = true )

Set Plot Visible Only

Set Plot Visible Only

Parameters

$plotVisibleOnly

Returns

PHPExcel_Chart
public string
# getDisplayBlanksAs( )

Get Display Blanks as

Get Display Blanks as

Returns

string
public PHPExcel_Chart
# setDisplayBlanksAs( string $displayBlanksAs = '0' )

Set Display Blanks as

Set Display Blanks as

Parameters

$displayBlanksAs

Returns

PHPExcel_Chart
public PHPExcel_Chart
# setTopLeftPosition( string $cell, integer $xOffset = null, integer $yOffset = null )

Set the Top Left position for the chart

Set the Top Left position for the chart

Parameters

$cell
$xOffset
$yOffset

Returns

PHPExcel_Chart
public array
# getTopLeftPosition( )

Get the top left position of the chart

Get the top left position of the chart

Returns

array
an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell
public string
# getTopLeftCell( )

Get the cell address where the top left of the chart is fixed

Get the cell address where the top left of the chart is fixed

Returns

string
public PHPExcel_Chart
# setTopLeftCell( string $cell )

Set the Top Left cell position for the chart

Set the Top Left cell position for the chart

Parameters

$cell

Returns

PHPExcel_Chart
public PHPExcel_Chart
# setTopLeftOffset( integer $xOffset = null, integer $yOffset = null )

Set the offset position within the Top Left cell for the chart

Set the offset position within the Top Left cell for the chart

Parameters

$xOffset
$yOffset

Returns

PHPExcel_Chart
public integer[]
# getTopLeftOffset( )

Get the offset position within the Top Left cell for the chart

Get the offset position within the Top Left cell for the chart

Returns

integer[]
public
# setTopLeftXOffset( $xOffset )
public
# getTopLeftXOffset( )
public
# setTopLeftYOffset( $yOffset )
public
# getTopLeftYOffset( )
public PHPExcel_Chart
# setBottomRightPosition( string $cell, integer $xOffset = null, integer $yOffset = null )

Set the Bottom Right position of the chart

Set the Bottom Right position of the chart

Parameters

$cell
$xOffset
$yOffset

Returns

PHPExcel_Chart
public array
# getBottomRightPosition( )

Get the bottom right position of the chart

Get the bottom right position of the chart

Returns

array
an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell
public
# setBottomRightCell( $cell )
public string
# getBottomRightCell( )

Get the cell address where the bottom right of the chart is fixed

Get the cell address where the bottom right of the chart is fixed

Returns

string
public PHPExcel_Chart
# setBottomRightOffset( integer $xOffset = null, integer $yOffset = null )

Set the offset position within the Bottom Right cell for the chart

Set the offset position within the Bottom Right cell for the chart

Parameters

$xOffset
$yOffset

Returns

PHPExcel_Chart
public integer[]
# getBottomRightOffset( )

Get the offset position within the Bottom Right cell for the chart

Get the offset position within the Bottom Right cell for the chart

Returns

integer[]
public
# setBottomRightXOffset( $xOffset )
public
# getBottomRightXOffset( )
public
# setBottomRightYOffset( $yOffset )
public
# getBottomRightYOffset( )
public
# refresh( )
public
# render( $outputDestination = null )
Properties summary
private string $_name

Chart Name

Chart Name

# ''
private PHPExcel_Worksheet $_worksheet

Worksheet

Worksheet

# null
private PHPExcel_Chart_Title $_title

Chart Title

Chart Title

# null
private PHPExcel_Chart_Legend $_legend

Chart Legend

Chart Legend

# null
private PHPExcel_Chart_Title $_xAxisLabel

X-Axis Label

X-Axis Label

# null
private PHPExcel_Chart_Title $_yAxisLabel

Y-Axis Label

Y-Axis Label

# null
private PHPExcel_Chart_PlotArea $_plotArea

Chart Plot Area

Chart Plot Area

# null
private boolean $_plotVisibleOnly

Plot Visible Only

Plot Visible Only

# true
private string $_displayBlanksAs

Display Blanks as

Display Blanks as

# '0'
private string $_topLeftCellRef

Top-Left Cell Position

Top-Left Cell Position

# 'A1'
private integer $_topLeftXOffset

Top-Left X-Offset

Top-Left X-Offset

# 0
private integer $_topLeftYOffset

Top-Left Y-Offset

Top-Left Y-Offset

# 0
private string $_bottomRightCellRef

Bottom-Right Cell Position

Bottom-Right Cell Position

# 'A1'
private integer $_bottomRightXOffset

Bottom-Right X-Offset

Bottom-Right X-Offset

# 10
private integer $_bottomRightYOffset

Bottom-Right Y-Offset

Bottom-Right Y-Offset

# 10
Autene API documentation generated by ApiGen