Releases: kevinkhill/lavacharts
Bugfix
Fixed a bad namespace in Chart.php
Column Roles
Support for column roles added.
addColumn($type | $arrayColDef [, $label [, $Id [, $formatter [, $role ] ] ] ] )
See Datatable Roles on Google
TimeOfDay Columns
Adding support for timeofday columns
addColumn('timeofday', 'Column Label')
Lava.js Bug Fixes
Fixes issue where chart is found, but throws not found error.
Ajax Data Loading
Data can now be loaded into the charts via AJAX.
New Lavacharts#exists() method
The new method exists($type, $label)
can be used to check if a created chart exists in the volcano (chart storage).
If a chart was created:
$lavacharts->LineChart('Test');
Then a call to the method $lavacharts->exists('LineChart', 'Test');
will return true
Added focusTarget to line & area charts
2.4.1 Added focusTarget to line & area charts
BarCharts, PSR2, PSR4
BarChart support has been added.
Ran phpcs & phpcbf to cleanup to PSR2 standards
Switched autoloading from PSR0 -> PSR4
Library doesn't depend on composer anymore, can be installed manually.
Added jsapi() method
Use $lava->jsapi() or Lava::jsapi() in Laravel
This will allow you to place the script tag with the google jsapi manually, instead of above the first chart render.
Timezone Fixes
Timezone can now be set with the constructor when creating the DataTable.
Falls back to ini setting if not set, falls back to "America/Los_Angeles" if the ini is not set.