Skip to content

Releases: kevinkhill/lavacharts

Bugfix

13 May 14:46
Compare
Choose a tag to compare

Fixed a bad namespace in Chart.php

Column Roles

10 May 07:56
Compare
Choose a tag to compare

Support for column roles added.

addColumn($type | $arrayColDef [, $label [, $Id [, $formatter [, $role ] ] ] ] )

See Datatable Roles on Google

TimeOfDay Columns

08 May 03:29
Compare
Choose a tag to compare

Adding support for timeofday columns

addColumn('timeofday', 'Column Label')

Lava.js Bug Fixes

28 Apr 20:51
Compare
Choose a tag to compare

Fixes issue where chart is found, but throws not found error.

Ajax Data Loading

25 Apr 07:29
Compare
Choose a tag to compare

Data can now be loaded into the charts via AJAX.

Check out the documentation for examples and syntax.

New Lavacharts#exists() method

14 Apr 01:59
Compare
Choose a tag to compare

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

14 Apr 01:36
Compare
Choose a tag to compare
2.4.1

Added focusTarget to line & area charts

BarCharts, PSR2, PSR4

04 Apr 06:48
Compare
Choose a tag to compare

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.

  • Note: DataTables still depend on Carbon, so this would need to be added before Lavacharts
  • Example can be found Here

Added jsapi() method

01 Apr 02:48
Compare
Choose a tag to compare

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

15 Mar 17:23
Compare
Choose a tag to compare

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.