TYPE_BARCHART
TYPE_BARCHART = 'barChart'
__construct(null|mixed $plotType = null, null|mixed $plotGrouping = null, array<mixed,integer> $plotOrder = array(), array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> $plotLabel = array(), array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> $plotCategory = array(), array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> $plotValues = array(), null|string $plotDirection = null, boolean $smoothLine = false, null|string $plotStyle = null)
Create a new DataSeries.
null|mixed | $plotType | |
null|mixed | $plotGrouping | |
array<mixed,integer> | $plotOrder | |
array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> | $plotLabel | |
array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> | $plotCategory | |
array<mixed,\PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues> | $plotValues | |
null|string | $plotDirection | |
boolean | $smoothLine | |
null|string | $plotStyle |
setPlotType(string $plotType) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries
Set Plot Type.
string | $plotType |
setPlotGrouping(string $groupingType) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries
Set Plot Grouping Type.
string | $groupingType |
setPlotDirection(string $plotDirection) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries
Set Plot Direction.
string | $plotDirection |
getPlotLabelByIndex(mixed $index) : \PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues
Get Plot Label by Index.
mixed | $index |
getPlotCategoryByIndex(mixed $index) : \PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues
Get Plot Category by Index.
mixed | $index |
setPlotStyle(null|string $plotStyle) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries
Set Plot Style.
null|string | $plotStyle |
getPlotValuesByIndex(mixed $index) : \PhpOffice\PhpSpreadsheet\Chart\DataSeriesValues
Get Plot Values by Index.
mixed | $index |
setSmoothLine(boolean $smoothLine) : \PhpOffice\PhpSpreadsheet\Chart\DataSeries
Set Smooth Line.
boolean | $smoothLine |
refresh(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet)
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $worksheet |