# ng2-gantt

> Angular 2 Gantt

Latest version **1.11.1-alpha.9** (published 2017-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install ng2-gantt
pnpm add ng2-gantt
yarn add ng2-gantt
bun add ng2-gantt
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.11.1-alpha.9 |
| Published | 2017-05-24 |
| First published | 2016-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 67 |
| Maintainers | dalestone |
| Keywords | angular, material, gantt, angular2, gantt html |

## Links

- npm: https://www.npmjs.com/package/ng2-gantt
- Repository: https://github.com/dalestone/angular2-gantt
- Homepage: https://github.com/dalestone/angular2-gantt/#readme
- Issues: https://github.com/dalestone/angular2-gantt/issues
- npm.io page: https://npm.io/package/ng2-gantt

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.11.1-alpha.9 (latest) — 2017-05-24
- 1.11.0-alpha.9 — 2017-05-18
- 1.10.0-alpha.9 — 2017-02-20
- 1.9.0-alpha.9 — 2017-02-17
- 1.8.0-alpha.9 — 2017-02-17
- 1.7.0-alpha.9 — 2017-02-16
- 1.6.0-alpha.9 — 2017-02-15
- 1.5.0-alpha.9 — 2017-02-09
- 1.4.0-alpha.9 — 2017-02-08
- 1.3.0-alpha.9 — 2017-02-06
- 1.2.0-alpha.9 — 2017-02-06
- 1.1.0-alpha.9 — 2017-02-06
- 1.0.0-alpha.9 — 2017-02-06
- 1.7.0-alpha.8 — 2017-02-02
- 1.6.0-alpha.8 — 2017-02-02
- … 34 more at https://npm.io/package/ng2-gantt/versions

## README

# Angular Gantt

A Gantt chart demo application built with modern Angular. The project started as an Angular 2 component experiment and has been migrated to the current Angular CLI application build system with Tailwind CSS for the demo UI.

## Stack

- Angular 21
- Angular CLI application builder
- Vite-backed Angular dev server
- Tailwind CSS 4
- TypeScript 5.9
- RxJS 7

## Getting Started

Install dependencies:

```bash
npm install
```

Run the local development server:

```bash
npm start
```

Open the app at:

```text
http://127.0.0.1:4200/
```

You can also run:

```bash
npm run dev
```

## Build

Create a production build:

```bash
npm run build
```

Build output is written to:

```text
dist/angular2-gantt/browser
```

## Project Structure

```text
src/demo-app
```

Contains the Angular demo application shell, global styles, and sample project/task data.

```text
src/lib
```

Contains the reusable Gantt module, components, services, pipes, and shared interfaces.

Important files:

- `angular.json` - Angular workspace and build configuration
- `tsconfig.json` - shared TypeScript configuration
- `tsconfig.app.json` - application TypeScript entrypoints
- `.postcssrc.json` - Tailwind CSS PostCSS integration
- `src/demo-app/styles.css` - global styles and Tailwind import

## Styling

Tailwind CSS is wired through PostCSS:

```css
@import "tailwindcss";
```

The demo shell uses Tailwind utility classes for layout, tables, controls, and panels. The Gantt component still keeps most of its original component-local styles so the chart internals remain self-contained.

## Demo

![Demo](./docs/images/demo.gif)

## Status

This project is still alpha-quality and intended as a working demo/migration base. The API and component internals may change as the Gantt component is modernized further.

## License

MIT

---
_Source: https://npm.io/package/ng2-gantt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
