lavacharts

Lavacharts is a graphing / charting library for PHP 5.4+ that wraps Google's Javascript Chart API.

OTHER License

Downloads
1.5M
Stars
619
Committers
24

Bot releases are visible (Hide)

lavacharts - Total Control

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.

lavacharts - Bugfix

Published by kevinkhill over 8 years ago

Adding percent to IsStackedTrait

lavacharts - Official 3.0 Release

Published by kevinkhill over 8 years ago

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
lavacharts - Bug Fixes

Published by kevinkhill over 8 years ago

  • Adding vAxes to charts that had it commented out
  • Allowing animation for all chart types.
lavacharts - Simplified Syntax Coming Soon...

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!

lavacharts - Customizing!

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

lavacharts - Blank Page Fixes

Published by kevinkhill almost 9 years ago

lavacharts - AJAX Data Loading Bugfixes

Published by kevinkhill over 9 years ago

Sorry to anyone who got 2.5.6 and experienced the ajax loading bug.

lavacharts - Fixes for AJAX chart loading

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.

lavacharts - Blade Extensions Fix

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

lavacharts - Bugfix

Published by kevinkhill over 9 years ago

Fixed a bad namespace in Chart.php

lavacharts - Column Roles

Published by kevinkhill over 9 years ago

Support for column roles added.

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

See Datatable Roles on Google

lavacharts - TimeOfDay Columns

Published by kevinkhill over 9 years ago

Adding support for timeofday columns

addColumn('timeofday', 'Column Label')

lavacharts - Lava.js Bug Fixes

Published by kevinkhill over 9 years ago

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

lavacharts - Ajax Data Loading

Published by kevinkhill over 9 years ago

Data can now be loaded into the charts via AJAX.

Check out the documentation for examples and syntax.

lavacharts - New Lavacharts#exists() method

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

lavacharts - Added focusTarget to line & area charts

Published by kevinkhill over 9 years ago

lavacharts - BarCharts, PSR2, PSR4

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.

  • Note: DataTables still depend on Carbon, so this would need to be added before Lavacharts
  • Example can be found Here
lavacharts - Added jsapi() method

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.

lavacharts - Timezone Fixes

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.

Package Rankings
Top 1.06% on Packagist.org
Badges
Extracted from project README
Total Downloads License Minimum PHP Version Gitter PayPal Current Release Build Status Coverage Status Development Release Build Status Coverage Status Stargazers over time