Releases: kevinkhill/lavacharts
Total Control
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.
Bugfix
Adding percent
to IsStackedTrait
Official 3.0 Release
Major internal overhaul from version 2.5
The notable additions are as follows:
- Interactive Dashboards
- Simplified syntax for chart creation and customization
- Added Scatter and Table charts
Bug Fixes
- Adding vAxes to charts that had it commented out
- Allowing animation for all chart types.
Simplified Syntax Coming Soon...
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!
Customizing!
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
Blank Page Fixes
2.5.8 fix for blank page issue found by mpociot
AJAX Data Loading Bugfixes
Sorry to anyone who got 2.5.6 and experienced the ajax loading bug.
Fixes for AJAX chart loading
Added some tweaks to the lava.loadData method and JavascriptFactory to use the saved formats and options, and only load new data via JSON.
Blade Extensions Fix
Added fix for blade template extensions
Laravel 5+ is now supported seamlessly with backwards compatibility for Laravel 4