# ng2-ganttchart

> this an angular 2 gantt chart component

Latest version **1.0.0** (published 2017-01-16) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-01-16 |
| First published | 2017-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+22 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | sameh george |
| Maintainers | sameh-george |
| Keywords | ng2-gantt |

## Links

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

## Dependencies (12)

- [rxjs](https://npm.io/package/rxjs.md) 5.0.0-beta.12
- [core-js](https://npm.io/package/core-js.md) ^2.4.1
- [zone.js](https://npm.io/package/zone.js.md) ^0.6.23
- [ts-helpers](https://npm.io/package/ts-helpers.md) ^1.1.1
- [@angular/core](https://npm.io/package/@angular/core.md) 2.2.1
- [@angular/http](https://npm.io/package/@angular/http.md) 2.2.1
- [@angular/forms](https://npm.io/package/@angular/forms.md) 2.2.1
- [@angular/common](https://npm.io/package/@angular/common.md) 2.2.1
- [@angular/router](https://npm.io/package/@angular/router.md) 3.2.1
- [@angular/compiler](https://npm.io/package/@angular/compiler.md) 2.2.1
- [@angular/platform-browser](https://npm.io/package/@angular/platform-browser.md) 2.2.1
- [@angular/platform-browser-dynamic](https://npm.io/package/@angular/platform-browser-dynamic.md) 2.2.1

## Recent versions

- 1.0.0 (latest) — 2017-01-16

## README

#Angular 2 Gantt Chart Component 

#### Setup App Module
```TypeScript
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { GanttModule } from 'angular2-ganttchart';
import { App } from './App';

@NgModule({
    imports: [BrowserModule, GanttModule],
    declarations: [App],
    bootstrap: [App]
})
export class AppModule {}
```
#### Create First Gantt Chart Component
Main charts functionality provided by the `chart` component and its `options` property.

```TypeScript
import { Component } from '@angular/core';
import {Gantt} from 'angular2-ganttchart'
@Component({
    selector: 'simple-gantt chart-example',
    template: `
        <gantt-chart [gantt]="gantt"></gantt-chart>
    `
})
export class App {
    constructor() {
        // StartDate
        // EndDate
        // ActualStartDate
        // ActualEndDate
        // ForcastedDate
        //Progress
        //Status
        //Gantt direction 
        this.gantt = new Gantt("01/01/2016", "11/30/2016", "01/20/2016", "11/15/2016", "", 100, 3,false);
    }
    gantt: Gantt;
}
```

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