GLOBAL STATS
Best Connect Day: {{ $best_day }} ({{ number_format($best_day_perc, 2) }}%)
Best Connect Time: {{ $best_time }} {{ $best_time_count }} connections - ({{ number_format($best_time_perc, 2) }}%)
Worst Connect Day: {{ $worst_day }} ({{ number_format($worst_day_perc, 2) }}%)
Worst Connect Time: {{ $worst_time }} {{ $worst_time_count }} connections - ({{ number_format($worst_time_perc, 2) }}%)
@foreach($totalDaysArray as $key=>$value) @php $day_perc = ($totalDaysArray[$key]["total_connect"] * 100) / $totalDaysArray[$key]["total"]; $best_time = $totalDaysArray[$key]["max_interval"]; $total_day = $totalDaysArray[$key]["total"]; $total_connect = $totalDaysArray[$key]["total_connect"]; $best_time_count = $totalDaysArray[$key]["max_interval_count"]; @endphp @endforeach
DAILY STATS
DAY CONNECT RATIO BEST TIME RANGE
{{ $day_label[$key] }} {{ $total_connect }} out of {{ $total_day }} {{ number_format($day_perc, 2) }}% {{ $best_time }} ({{ $best_time_count }} connections)