Constants

TYPE_BARCHART

TYPE_BARCHART = 'barChart'

TYPE_BARCHART_3D

TYPE_BARCHART_3D = 'bar3DChart'

TYPE_LINECHART

TYPE_LINECHART = 'lineChart'

TYPE_LINECHART_3D

TYPE_LINECHART_3D = 'line3DChart'

TYPE_AREACHART

TYPE_AREACHART = 'areaChart'

TYPE_AREACHART_3D

TYPE_AREACHART_3D = 'area3DChart'

TYPE_PIECHART

TYPE_PIECHART = 'pieChart'

TYPE_PIECHART_3D

TYPE_PIECHART_3D = 'pie3DChart'

TYPE_DOUGHTNUTCHART

TYPE_DOUGHTNUTCHART = 'doughnutChart'

TYPE_DONUTCHART

TYPE_DONUTCHART = self::TYPE_DOUGHTNUTCHART

TYPE_SCATTERCHART

TYPE_SCATTERCHART = 'scatterChart'

TYPE_SURFACECHART

TYPE_SURFACECHART = 'surfaceChart'

TYPE_SURFACECHART_3D

TYPE_SURFACECHART_3D = 'surface3DChart'

TYPE_RADARCHART

TYPE_RADARCHART = 'radarChart'

TYPE_BUBBLECHART

TYPE_BUBBLECHART = 'bubbleChart'

TYPE_STOCKCHART

TYPE_STOCKCHART = 'stockChart'

TYPE_CANDLECHART

TYPE_CANDLECHART = self::TYPE_STOCKCHART

GROUPING_CLUSTERED

GROUPING_CLUSTERED = 'clustered'

GROUPING_STACKED

GROUPING_STACKED = 'stacked'

GROUPING_PERCENT_STACKED

GROUPING_PERCENT_STACKED = 'percentStacked'

GROUPING_STANDARD

GROUPING_STANDARD = 'standard'

DIRECTION_BAR

DIRECTION_BAR = 'bar'

DIRECTION_HORIZONTAL

DIRECTION_HORIZONTAL = self::DIRECTION_BAR

DIRECTION_COL

DIRECTION_COL = 'col'

DIRECTION_COLUMN

DIRECTION_COLUMN = self::DIRECTION_COL

DIRECTION_VERTICAL

DIRECTION_VERTICAL = self::DIRECTION_COL

STYLE_LINEMARKER

STYLE_LINEMARKER = 'lineMarker'

STYLE_SMOOTHMARKER

STYLE_SMOOTHMARKER = 'smoothMarker'

STYLE_MARKER

STYLE_MARKER = 'marker'

STYLE_FILLED

STYLE_FILLED = 'filled'

Properties

$_plotType

$_plotType : string

Series Plot Type

Type

string

$_plotGrouping

$_plotGrouping : boolean

Plot Grouping Type

Type

boolean

$_plotDirection

$_plotDirection : boolean

Plot Direction

Type

boolean

$_plotStyle

$_plotStyle : string

Plot Style

Type

string

$_plotOrder

$_plotOrder : array

Order of plots in Series

Type

array — of integer

$_plotLabel

$_plotLabel : array

Plot Label

Type

array — of PHPExcel_Chart_DataSeriesValues

$_plotCategory

$_plotCategory : array

Plot Category

Type

array — of PHPExcel_Chart_DataSeriesValues

$_smoothLine

$_smoothLine : string

Smooth Line

Type

string

$_plotValues

$_plotValues : array

Plot Values

Type

array — of PHPExcel_Chart_DataSeriesValues

Methods

__construct()

__construct(  $plotType = null,   $plotGrouping = null,   $plotOrder = array(),   $plotLabel = array(),   $plotCategory = array(),   $plotValues = array(),   $plotDirection = null,   $smoothLine = null,   $plotStyle = null) 

Create a new PHPExcel_Chart_DataSeries

Parameters

$plotType
$plotGrouping
$plotOrder
$plotLabel
$plotCategory
$plotValues
$plotDirection
$smoothLine
$plotStyle

getPlotType()

getPlotType() : string

Get Plot Type

Returns

string

setPlotType()

setPlotType(string  $plotType = '') : \PHPExcel_Chart_DataSeries

Set Plot Type

Parameters

string $plotType

Returns

\PHPExcel_Chart_DataSeries

getPlotGrouping()

getPlotGrouping() : string

Get Plot Grouping Type

Returns

string

setPlotGrouping()

setPlotGrouping(string  $groupingType = null) : \PHPExcel_Chart_DataSeries

Set Plot Grouping Type

Parameters

string $groupingType

Returns

\PHPExcel_Chart_DataSeries

getPlotDirection()

getPlotDirection() : string

Get Plot Direction

Returns

string

setPlotDirection()

setPlotDirection(string  $plotDirection = null) : \PHPExcel_Chart_DataSeries

Set Plot Direction

Parameters

string $plotDirection

Returns

\PHPExcel_Chart_DataSeries

getPlotOrder()

getPlotOrder() : string

Get Plot Order

Returns

string

getPlotLabels()

getPlotLabels() : array

Get Plot Labels

Returns

array —

of PHPExcel_Chart_DataSeriesValues

getPlotLabelByIndex()

getPlotLabelByIndex(  $index) : \PHPExcel_Chart_DataSeriesValues

Get Plot Label by Index

Parameters

$index

Returns

\PHPExcel_Chart_DataSeriesValues

getPlotCategories()

getPlotCategories() : array

Get Plot Categories

Returns

array —

of PHPExcel_Chart_DataSeriesValues

getPlotCategoryByIndex()

getPlotCategoryByIndex(  $index) : \PHPExcel_Chart_DataSeriesValues

Get Plot Category by Index

Parameters

$index

Returns

\PHPExcel_Chart_DataSeriesValues

getPlotStyle()

getPlotStyle() : string

Get Plot Style

Returns

string

setPlotStyle()

setPlotStyle(string  $plotStyle = null) : \PHPExcel_Chart_DataSeries

Set Plot Style

Parameters

string $plotStyle

Returns

\PHPExcel_Chart_DataSeries

getPlotValues()

getPlotValues() : array

Get Plot Values

Returns

array —

of PHPExcel_Chart_DataSeriesValues

getPlotValuesByIndex()

getPlotValuesByIndex(  $index) : \PHPExcel_Chart_DataSeriesValues

Get Plot Values by Index

Parameters

$index

Returns

\PHPExcel_Chart_DataSeriesValues

getPlotSeriesCount()

getPlotSeriesCount() : integer

Get Number of Plot Series

Returns

integer

getSmoothLine()

getSmoothLine() : boolean

Get Smooth Line

Returns

boolean

setSmoothLine()

setSmoothLine(boolean  $smoothLine = TRUE) : \PHPExcel_Chart_DataSeries

Set Smooth Line

Parameters

boolean $smoothLine

Returns

\PHPExcel_Chart_DataSeries