Linear Schedule

Residential Towers Phase 1

Linear Schedule - Time vs Location
Production Rates
Activity Rate Unit Crew Size
Location Analysis
Activity Start Location End Location Distance
Resource Utilization Over Time
Linear Scheduling Benefits
Continuous Workflow

Activities flow smoothly from one location to another

Crew Efficiency

Optimized crew utilization and reduced idle time

Location Based

Clear visualization of work progression by location

Time Optimization

Reduced project duration through efficient sequencing

// Define error message function function showLinearErrorMessage(message) { const container = document.getElementById('linear-chart-container'); if (container) { container.innerHTML = `

Chart Error

${message}

`; feather.replace(); } } document.addEventListener('DOMContentLoaded', function() { // Wait for Chart.js to be fully loaded if (typeof Chart === 'undefined') { console.error('Chart.js not loaded'); showLinearErrorMessage('Chart library not loaded. Please refresh the page.'); return; } try { // Initialize linear schedule with project data const projectData = { id: 2, name: "Residential Towers Phase 1", start_date: "2025-05-08", end_date: "2026-05-23" }; // Load activities via API fetch(`/api/project/${projectData.id}/activities`) .then(response => { if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return response.json(); }) .then(data => { initializeLinearSchedule(projectData, data.activities); initializeResourceChart(projectData, data.activities); }) .catch(error => { console.error('Error loading project data:', error); showLinearErrorMessage('Failed to load project data. Please try refreshing the page.'); }); } catch (error) { console.error('Script initialization error:', error); showLinearErrorMessage('Script initialization failed. Please refresh the page.'); } feather.replace(); });