You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice because when you load data dynamically from the data base, its usually an associative array or an object castable to a associative arrays.
but in the file lavacharts/src/DataTables/Rows/RowFactory.php line 84
if ((bool) preg_match('/date|datetime|timeofday/', $columnTypes[$index]) === true)
$columnTypes[$index] check directly to the $index asuming that the row will be a indexed array
I changed it to be like this:
I tried to make a pull request, but I just realized that your master branch is quite diferent at this point so I think the change would be similar, I just dont know where to edit.
The text was updated successfully, but these errors were encountered:
What Version?
name : khill/lavacharts
descrip. : PHP wrapper library for the Google Chart API
keywords : charts, google, graphs
versions : * 3.0.8
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
source : [git] https://github.com/kevinkhill/lavacharts.git ab4aa8d
dist : [zip] https://api.github.com/repos/kevinkhill/lavacharts/zipball/ab4aa8d8bc3d68d0e86b3d59383a0aaee384c6f5 ab4aa8d
names : khill/lavacharts
Issue
It would be nice if the code I present here would work:
It would be nice because when you load data dynamically from the data base, its usually an associative array or an object castable to a associative arrays.
but in the file lavacharts/src/DataTables/Rows/RowFactory.php line 84
$columnTypes[$index] check directly to the $index asuming that the row will be a indexed array
I changed it to be like this:
I tried to make a pull request, but I just realized that your master branch is quite diferent at this point so I think the change would be similar, I just dont know where to edit.
The text was updated successfully, but these errors were encountered: