Laravel 5.5+ Automatic Package Discovery

@kevinkhill kevinkhill released this May 10, 2018 · 2 commits to 3.1 since this release

Laravel 5.5+ installs should now automatically be discovered and registered.

Fixing bug in setOptions

@kevinkhill kevinkhill released this Nov 1, 2017 · 13 commits to 3.1 since this release

Fixed a bug in setOptions that prevented png and material options from being processed and assigned to the chart.

Production Build of Lava.js

@kevinkhill kevinkhill released this Aug 10, 2017 · 18 commits to 3.1 since this release

I keep forgetting to do a prod build before releasing, sorry!

Nobody likes console log flood?

Config Publishing

@kevinkhill kevinkhill released this Aug 9, 2017 · 20 commits to 3.1 since this release

Added the tag lavacharts to the config publishing.
Use php artisan vendor:publish --tag=lavacharts
If that does not work, try to clear the cache with php artisan config:clear and re-publish with --force.

DataTables in Events

@kevinkhill kevinkhill released this May 30, 2017 · 32 commits to 3.1 since this release

The event callback within lava.js was modified to pass back the chart and the datatable so users can interact with either during an event. This solves issue #203

Resize Bug Fixed

@kevinkhill kevinkhill released this May 16, 2017 · 36 commits to 3.1 since this release

Chart's should resize properly on page resize.

Gantt Charts

@kevinkhill kevinkhill released this Apr 14, 2017 · 44 commits to 3.1 since this release

  • Adding support for date columns to be null which enables support for Gantt charts to have linked sections.
  • Also adding JavascriptDate class which is an (hacky) alias for the Javascript Date object. (I really just wanted to be able to copy and paste Google examples into my tests and DataTables)

Short Example:

use Khill\Lavacharts\Support\JavascriptDate as Date;

$daysToMilliseconds = function ($days) {
    return $days * 24 * 60 * 60 * 1000;
};

$data = $lava->DataTable();
$data->addColumn('string', 'Task ID');
$data->addColumn('string', 'Task Name');
$data->addColumn('date', 'Start Date');
$data->addColumn('date', 'End Date');
$data->addColumn('number', 'Duration');
$data->addColumn('number', 'Percent Complete');
$data->addColumn('string', 'Dependencies');
$data->addRows([
    ['Research', 'Find sources',
     new Date(2015, 0, 1), new Date(2015, 0, 5), null,  100,  null],
    ['Write', 'Write paper',
     null, new Date(2015, 0, 9), $daysToMilliseconds(3), 25, 'Research,Outline'],
    ['Cite', 'Create bibliography',
     null, new Date(2015, 0, 7), $daysToMilliseconds(1), 20, 'Research'],
    ['Complete', 'Hand in paper',
     null, new Date(2015, 0, 10), $daysToMilliseconds(1), 0, 'Cite,Write'],
    ['Outline', 'Outline paper',
     null, new Date(2015, 0, 6), $daysToMilliseconds(1), 100, 'Research']
]);

Symfony Bundle

@kevinkhill kevinkhill released this Apr 12, 2017 · 48 commits to 3.1 since this release

Releasing the Symfony Bundle (again) to re-enable support for all the new chart types and the renderAll

Symfony Support

@kevinkhill kevinkhill released this Apr 11, 2017 · 59 commits to 3.1 since this release

I don't know how I accidentally removed the Symfony folder, but it's back now.