Properties

$width

$width

$height

$height

$colourSet

$colourSet

$markSet

$markSet

$chart

$chart

$graph

$graph

$plotColour

$plotColour

$plotMark

$plotMark

Methods

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Chart\Chart  $chart) : mixed

Create a new jpgraph.

Parameters

\PhpOffice\PhpSpreadsheet\Chart\Chart $chart

Returns

mixed —

render()

render(mixed  $outputDestination) : bool

Render the chart to given file (or stream).

Parameters

mixed $outputDestination

Returns

bool —

true on success

init()

init() : void

formatPointMarker()

formatPointMarker(mixed  $seriesPlot, mixed  $markerID) : mixed

Parameters

mixed $seriesPlot
mixed $markerID

Returns

mixed —

formatDataSetLabels()

formatDataSetLabels(mixed  $groupID, mixed  $datasetLabels, mixed  $labelCount, mixed  $rotation = '') : mixed

Parameters

mixed $groupID
mixed $datasetLabels
mixed $labelCount
mixed $rotation

Returns

mixed —

percentageSumCalculation()

percentageSumCalculation(mixed  $groupID, mixed  $seriesCount) : mixed

Parameters

mixed $groupID
mixed $seriesCount

Returns

mixed —

percentageAdjustValues()

percentageAdjustValues(mixed  $dataValues, mixed  $sumValues) : mixed

Parameters

mixed $dataValues
mixed $sumValues

Returns

mixed —

getCaption()

getCaption(mixed  $captionElement) : mixed

Parameters

mixed $captionElement

Returns

mixed —

renderTitle()

renderTitle() : void

renderLegend()

renderLegend() : void

renderCartesianPlotArea()

renderCartesianPlotArea(mixed  $type = 'textlin') : void

Parameters

mixed $type

renderPiePlotArea()

renderPiePlotArea() : void

renderRadarPlotArea()

renderRadarPlotArea() : void

renderPlotLine()

renderPlotLine(mixed  $groupID, mixed  $filled = false, mixed  $combination = false, mixed  $dimensions = '2d') : void

Parameters

mixed $groupID
mixed $filled
mixed $combination
mixed $dimensions

renderPlotBar()

renderPlotBar(mixed  $groupID, mixed  $dimensions = '2d') : void

Parameters

mixed $groupID
mixed $dimensions

renderPlotScatter()

renderPlotScatter(mixed  $groupID, mixed  $bubble) : void

Parameters

mixed $groupID
mixed $bubble

renderPlotRadar()

renderPlotRadar(mixed  $groupID) : void

Parameters

mixed $groupID

renderPlotContour()

renderPlotContour(mixed  $groupID) : void

Parameters

mixed $groupID

renderPlotStock()

renderPlotStock(mixed  $groupID) : void

Parameters

mixed $groupID

renderAreaChart()

renderAreaChart(mixed  $groupCount, mixed  $dimensions = '2d') : void

Parameters

mixed $groupCount
mixed $dimensions

renderLineChart()

renderLineChart(mixed  $groupCount, mixed  $dimensions = '2d') : void

Parameters

mixed $groupCount
mixed $dimensions

renderBarChart()

renderBarChart(mixed  $groupCount, mixed  $dimensions = '2d') : void

Parameters

mixed $groupCount
mixed $dimensions

renderScatterChart()

renderScatterChart(mixed  $groupCount) : void

Parameters

mixed $groupCount

renderBubbleChart()

renderBubbleChart(mixed  $groupCount) : void

Parameters

mixed $groupCount

renderPieChart()

renderPieChart(mixed  $groupCount, mixed  $dimensions = '2d', mixed  $doughnut = false, mixed  $multiplePlots = false) : void

Parameters

mixed $groupCount
mixed $dimensions
mixed $doughnut
mixed $multiplePlots

renderRadarChart()

renderRadarChart(mixed  $groupCount) : void

Parameters

mixed $groupCount

renderStockChart()

renderStockChart(mixed  $groupCount) : void

Parameters

mixed $groupCount

renderContourChart()

renderContourChart(mixed  $groupCount, mixed  $dimensions) : void

Parameters

mixed $groupCount
mixed $dimensions

renderCombinationChart()

renderCombinationChart(mixed  $groupCount, mixed  $dimensions, mixed  $outputDestination) : mixed

Parameters

mixed $groupCount
mixed $dimensions
mixed $outputDestination

Returns

mixed —