@if (isset($ganttData['data']) && count($ganttData['data']) > 0)
@php
$projectCount = count($ganttData['data']);
$minHeight = 400;
$rowHeight = 40;
$headerHeight = 80;
$calculatedHeight = max($minHeight, $projectCount * $rowHeight + $headerHeight);
@endphp
No project data available
Add start and end dates to projects to view timeline