Skip to content

Commit b6a9931

Browse files
1021730-Changed read-me content and removed outdated or broken links.
1 parent dc84f91 commit b6a9931

2 files changed

Lines changed: 30 additions & 21 deletions

File tree

README.md

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,50 @@
1-
# Airlines Tracker using Gantt Chart
1+
# Airlines Tracker Using Gantt Chart
22

3-
A React demo application showcasing airline flight tracking in a customized Syncfusion Gantt chart.
3+
This repository contains a React application visualizing airline flight schedules using Syncfusion Gantt chart. It demonstrates how Gantt charts adapt for time‑based resource scheduling beyond traditional project management.
44

55
## Features
66

7-
- Resource view Gantt chart with flights grouped by airport code
8-
- Custom taskbar templates for active, completed, and upcoming flights
9-
- Tooltip cards showing departure, arrival, and aircraft model details
10-
- Day/hour timeline with event markers for a selected current time
11-
- Built with Syncfusion `@syncfusion/ej2-react-gantt`
7+
- **Resource view Gantt chart** with flights grouped by airport
8+
- **Custom taskbar templates** for active, completed, and upcoming flights
9+
- **Rich tooltip cards** with departure, arrival, and aircraft details
10+
- **Day and hour timeline** with event markers
11+
- **Built with** `@syncfusion/ej2-react-gantt`
1212

1313
## Prerequisites
1414

15-
- Node.js 14+ or compatible version
15+
- Node.js ( LTS or later )
1616
- npm
1717

18-
## Installation
18+
## Installation and Run
1919

2020
```bash
2121
npm install
2222
npm start
2323
```
2424

25-
Then open `http://localhost:3000` in your browser.
25+
Open the application at `http://localhost:3000`
2626

2727
## How It Works
2828

29-
The sample uses `src/data.js` for `TimeTable` flight data and airport resources.
30-
`src/index.js` configures:
29+
**Data configuration** (`src/data.js`):
30+
- Flight schedules (`TimeTable`) and resources
3131

32+
**Application setup** (`src/index.js`):
3233
- `taskFields` and `resourceFields`
33-
- `labelSettings` for departure and arrival labels on tasks
34-
- `taskbarTemplate` to color-code flights by status
35-
- `tooltipSettings` for rich hover details
34+
- `labelSettings` for departure and arrival labels
35+
- `taskbarTemplate` to differentiate flight status
36+
- `tooltipSettings` for details
37+
- `viewType` set to `ResourceView`
3638

3739
## Notes
3840

39-
- Current time is hardcoded as `02/13/2021 15:25:00` for demonstration.
40-
- `Dep` is the flight start date and `Journey` is duration in hours.
41-
- The Gantt chart view type is configured as `ResourceView`.
41+
- "Current time" hardcoded as `02/13/2021 15:25:00`
42+
- `Dep` = flight start time, `Journey` = duration in hours
43+
- Static data without real‑time updates
44+
45+
## Use Cases
46+
47+
This repository demonstrates:
48+
- Modeling non-project data in Gantt charts
49+
- Resource view for scheduling scenarios
50+
- Customizing taskbars and tooltips in Syncfusion React Gantt

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"@syncfusion/ej2-react-spreadsheet": "18.4.35",
4242
"@syncfusion/ej2-react-treegrid": "18.4.35",
4343
"@syncfusion/ej2-react-treemap": "18.4.30",
44-
"react": "^17.0.0",
45-
"react-dom": "^17.0.0",
46-
"react-scripts": "^3.2.0"
44+
"react": "^17.0.1",
45+
"react-dom": "^17.0.1",
46+
"react-scripts": "^5.0.1"
4747
},
4848
"scripts": {
4949
"start": "react-scripts start",

0 commit comments

Comments
 (0)