-
Notifications
You must be signed in to change notification settings - Fork 139
Getting a chart as an image 3.1.x
Kevin Hill edited this page Aug 29, 2017
·
4 revisions
You can use the new png
option when building your chart. Just include the png => true
option as such:
$lava->LineChart('MyChart', $myDataTable, [
'png' => true
]);
Not all charts support PNG output, so a browse through the chart classes, such as AreaCharts will show if they use \Khill\Lavacharts\Support\Traits\PngRenderableTrait
Complete Documentation available at lavacharts.com