Lavacharts is a graphing / charting library for PHP 5.4+ that wraps Google's Javascript Chart API.
OTHER License
Bot releases are visible (Hide)
Published by kevinkhill over 8 years ago
For existing users, the functionality of the customize
method is now integrated into the constructor. No need for the extra method call.
For new users, pass any option you want into the constructor. Use Google's doc pages for the full list of options they support.
Published by kevinkhill over 8 years ago
Adding percent
to IsStackedTrait
Published by kevinkhill over 8 years ago
Major internal overhaul from version 2.5
The notable additions are as follows:
Published by kevinkhill over 8 years ago
Published by kevinkhill almost 9 years ago
With almost 350 commits and massive internal re-writes, this new version will provide a simpler syntax for creating charts and also bring a whole new feature, Dashboards!
Published by kevinkhill almost 9 years ago
Added customize()
method to all charts to enable the use of config options that I may not have implemented yet, but are available to users from Google.
For example, if you have a LineChart and want to use the chart explorer option, you can add this "unsupported" option with the customize()
method.
$lava->LineChart('MyChart')
->datatable($myData)
->customize([
'explorer' => [
'actions' => [
'dragToPan',
'rightClickToReset'
]
]
]);
No more handcuffing (my accident, sorry!) and no more so-and-so is not a valid property for WhateverChart
Published by kevinkhill almost 9 years ago
Published by kevinkhill over 9 years ago
Sorry to anyone who got 2.5.6 and experienced the ajax loading bug.
Published by kevinkhill over 9 years ago
Added some tweaks to the lava.loadData method and JavascriptFactory to use the saved formats and options, and only load new data via JSON.
Published by kevinkhill over 9 years ago
Added fix for blade template extensions
Laravel 5+ is now supported seamlessly with backwards compatibility for Laravel 4
Published by kevinkhill over 9 years ago
Fixed a bad namespace in Chart.php
Published by kevinkhill over 9 years ago
Support for column roles added.
addColumn($type | $arrayColDef [, $label [, $Id [, $formatter [, $role ] ] ] ] )
See Datatable Roles on Google
Published by kevinkhill over 9 years ago
Adding support for timeofday columns
addColumn('timeofday', 'Column Label')
Published by kevinkhill over 9 years ago
Fixes issue where chart is found, but throws not found error.
Published by kevinkhill over 9 years ago
Data can now be loaded into the charts via AJAX.
Published by kevinkhill over 9 years ago
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
Published by kevinkhill over 9 years ago
Published by kevinkhill over 9 years ago
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.
Published by kevinkhill over 9 years ago
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.
Published by kevinkhill over 9 years ago
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.