JpGraphRendererBase
in package
implements
IRenderer
AbstractYes
Base class for different Jpgraph implementations as charts renderer.
Table of Contents
Interfaces
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
abstract static init() : void