MtJpGraphRenderer
extends JpGraphRendererBase
in package
Jpgraph is not officially maintained by Composer at packagist.org.
This renderer implementation uses package https://packagist.org/packages/mitoteam/jpgraph
This package is up to date for June 2023 and has PHP 8.2 support.
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