chart eliminato dati nulli
This commit is contained in:
parent
9b7fd8a518
commit
747cdfa911
@ -10,7 +10,9 @@
|
||||
var data = google.visualization.arrayToDataTable([
|
||||
['Categoria', 'resoconto'],
|
||||
@foreach($dataSpesa as $dato)
|
||||
@if($dato->resoconto !='')
|
||||
['{{ $dato->cat_name }}', {{ $dato->resoconto }}],
|
||||
@endif
|
||||
@endforeach
|
||||
]);
|
||||
|
||||
@ -32,7 +34,9 @@
|
||||
var data = google.visualization.arrayToDataTable([
|
||||
['Categoria', 'resoconto'],
|
||||
@foreach($dataEntrate as $dato)
|
||||
@if($dato->resoconto !='')
|
||||
['{{ $dato->cat_name }}', {{ $dato->resoconto }}],
|
||||
@endif
|
||||
@endforeach
|
||||
]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user