assets
This commit is contained in:
@@ -53,11 +53,11 @@ class FuelController extends Controller
|
|||||||
|
|
||||||
foreach($gates as $gate) {
|
foreach($gates as $gate) {
|
||||||
$gateChart = $lava->DataTable();
|
$gateChart = $lava->DataTable();
|
||||||
$gateChart->addStringColumn($gate->structure_name)
|
$gateChart->addStringColumn($gate['structure_name'])
|
||||||
->addNumberColumn('Liquid Ozone')
|
->addNumberColumn('Liquid Ozone')
|
||||||
->addRow([$gate->row, $gate->lo]);
|
->addRow([$gate['row'], $gate['lo']]);
|
||||||
|
|
||||||
$lava->GaugeChart($gate->row, $gateChart, [
|
$lava->GaugeChart($gate['row'], $gateChart, [
|
||||||
'width' => 300,
|
'width' => 300,
|
||||||
'redFrom' => 0,
|
'redFrom' => 0,
|
||||||
'redTo' => 50000,
|
'redTo' => 50000,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
@extends('layouts.b4')
|
@extends('layouts.b4')
|
||||||
@section('content')
|
@section('content')
|
||||||
@foreach($gates as $gate)
|
@foreach($gates as $gate)
|
||||||
<div id="{{ $gate->div }}"></div>
|
<div id="{{ $gate['div'] }}"></div>
|
||||||
{!! $lava->render('Gauge Chart', $gate->row, $gate->div) !!}
|
{!! $lava->render('Gauge Chart', $gate['row'], $gate['div']) !!}
|
||||||
<br>
|
<br>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endsection
|
@endsection
|
||||||
Reference in New Issue
Block a user