class DataSeries (View source)

Constants

TYPE_BARCHART

TYPE_BARCHART_3D

TYPE_LINECHART

TYPE_LINECHART_3D

TYPE_AREACHART

TYPE_AREACHART_3D

TYPE_PIECHART

TYPE_PIECHART_3D

TYPE_DOUGHNUTCHART

TYPE_DONUTCHART

TYPE_SCATTERCHART

TYPE_SURFACECHART

TYPE_SURFACECHART_3D

TYPE_RADARCHART

TYPE_BUBBLECHART

TYPE_STOCKCHART

TYPE_CANDLECHART

GROUPING_CLUSTERED

GROUPING_STACKED

GROUPING_PERCENT_STACKED

GROUPING_STANDARD

DIRECTION_BAR

DIRECTION_HORIZONTAL

DIRECTION_COL

DIRECTION_COLUMN

DIRECTION_VERTICAL

STYLE_LINEMARKER

STYLE_SMOOTHMARKER

STYLE_MARKER

STYLE_FILLED

Methods

__construct(null|mixed $plotType = null, null|mixed $plotGrouping = null, array $plotOrder = [], array $plotLabel = [], array $plotCategory = [], array $plotValues = [], null|string $plotDirection = null, bool $smoothLine = false, null|string $plotStyle = null)

Create a new DataSeries.

string
getPlotType()

Get Plot Type.

setPlotType(string $plotType)

Set Plot Type.

string
getPlotGrouping()

Get Plot Grouping Type.

setPlotGrouping(string $groupingType)

Set Plot Grouping Type.

string
getPlotDirection()

Get Plot Direction.

setPlotDirection(string $plotDirection)

Set Plot Direction.

int[]
getPlotOrder()

Get Plot Order.

array
getPlotLabels()

Get Plot Labels.

getPlotLabelByIndex(mixed $index)

Get Plot Label by Index.

array
getPlotCategories()

Get Plot Categories.

getPlotCategoryByIndex(mixed $index)

Get Plot Category by Index.

null|string
getPlotStyle()

Get Plot Style.

setPlotStyle(null|string $plotStyle)

Set Plot Style.

array
getPlotValues()

Get Plot Values.

getPlotValuesByIndex(mixed $index)

Get Plot Values by Index.

int
getPlotSeriesCount()

Get Number of Plot Series.

bool
getSmoothLine()

Get Smooth Line.

setSmoothLine(bool $smoothLine)

Set Smooth Line.

refresh(Worksheet $worksheet)

No description

Details

__construct(null|mixed $plotType = null, null|mixed $plotGrouping = null, array $plotOrder = [], array $plotLabel = [], array $plotCategory = [], array $plotValues = [], null|string $plotDirection = null, bool $smoothLine = false, null|string $plotStyle = null)

Create a new DataSeries.

Parameters

null|mixed $plotType
null|mixed $plotGrouping
array $plotOrder
array $plotLabel
array $plotCategory
array $plotValues
null|string $plotDirection
bool $smoothLine
null|string $plotStyle

string getPlotType()

Get Plot Type.

Return Value

string

DataSeries setPlotType(string $plotType)

Set Plot Type.

Parameters

string $plotType

Return Value

DataSeries

string getPlotGrouping()

Get Plot Grouping Type.

Return Value

string

DataSeries setPlotGrouping(string $groupingType)

Set Plot Grouping Type.

Parameters

string $groupingType

Return Value

DataSeries

string getPlotDirection()

Get Plot Direction.

Return Value

string

DataSeries setPlotDirection(string $plotDirection)

Set Plot Direction.

Parameters

string $plotDirection

Return Value

DataSeries

int[] getPlotOrder()

Get Plot Order.

Return Value

int[]

array getPlotLabels()

Get Plot Labels.

Return Value

array of DataSeriesValues

DataSeriesValues getPlotLabelByIndex(mixed $index)

Get Plot Label by Index.

Parameters

mixed $index

Return Value

DataSeriesValues

array getPlotCategories()

Get Plot Categories.

Return Value

array of DataSeriesValues

DataSeriesValues getPlotCategoryByIndex(mixed $index)

Get Plot Category by Index.

Parameters

mixed $index

Return Value

DataSeriesValues

null|string getPlotStyle()

Get Plot Style.

Return Value

null|string

DataSeries setPlotStyle(null|string $plotStyle)

Set Plot Style.

Parameters

null|string $plotStyle

Return Value

DataSeries

array getPlotValues()

Get Plot Values.

Return Value

array of DataSeriesValues

DataSeriesValues getPlotValuesByIndex(mixed $index)

Get Plot Values by Index.

Parameters

mixed $index

Return Value

DataSeriesValues

int getPlotSeriesCount()

Get Number of Plot Series.

Return Value

int

bool getSmoothLine()

Get Smooth Line.

Return Value

bool

DataSeries setSmoothLine(bool $smoothLine)

Set Smooth Line.

Parameters

bool $smoothLine

Return Value

DataSeries

refresh(Worksheet $worksheet)

Parameters

Worksheet $worksheet