interface IRenderer (View source)

Methods

__construct(Chart $chart)

IRenderer constructor.

bool
render(string $filename)

Render the chart to given file (or stream).

Details

__construct(Chart $chart)

IRenderer constructor.

Parameters

Chart $chart

bool render(string $filename)

Render the chart to given file (or stream).

Parameters

string $filename Name of the file render to

Return Value

bool true on success