JpGraph
extends JpGraphRendererBase
in package
Jpgraph is not oficially maintained in Composer, so the version there could be out of date. For that reason, all unit test requiring Jpgraph are skipped. So, do not measure code coverage for this class till that is fixed.
This implementation uses abandoned package https://packagist.org/packages/jpgraph/jpgraph
Tags
Table of Contents
Methods
- __construct() : mixed
- Create a new jpgraph.
- render() : bool
- Render the chart to given file (or stream).
- init() : void
- This method should be overriden in descendants to do real JpGraph library initialization.
Methods
__construct()
Create a new jpgraph.
public
__construct(Chart $chart) : mixed
Parameters
- $chart : Chart
render()
Render the chart to given file (or stream).
public
render(string|null $outputDestination) : bool
Parameters
- $outputDestination : string|null
Return values
bool —true on success
init()
This method should be overriden in descendants to do real JpGraph library initialization.
protected
static init() : void