{"analyzedAt":"2022-07-07T19:30:39.171Z","collected":{"metadata":{"name":"ngx-daily-gantt-chart","scope":"unscoped","version":"1.5.2","description":"A very simple and easy to use Angular gantt-chart component with a day-view","keywords":["angular","component","ng","ngx","gantt","chart","gantt chart","daily","timeline","schedule","scheduler","planboard"],"date":"2020-08-29T09:31:25.128Z","author":{"name":"Taha Erden","url":"http://tahaerden.com"},"publisher":{"username":"tahaerden","email":"tahaerden@windowslive.com"},"maintainers":[{"username":"tahaerden","email":"tahaerden@windowslive.com"}],"repository":{"type":"git","url":"git+https://github.com/tahaerden/npm-workspace.git"},"links":{"npm":"https://www.npmjs.com/package/ngx-daily-gantt-chart","homepage":"https://github.com/tahaerden/npm-workspace#readme","repository":"https://github.com/tahaerden/npm-workspace","bugs":"https://github.com/tahaerden/npm-workspace/issues"},"license":"MIT","dependencies":{"date-fns":"^2.15.0","tslib":"^1.10.0"},"peerDependencies":{"@angular/common":"^9.0.7","@angular/core":"^9.0.7","@angular/cdk":"^9.1.1","@angular/material":"^9.1.1"},"releases":[{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1},{"from":"2020-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":15}],"readme":"# NgxDailyGanttChart\n\nngx-daily-gantt-chart is a very simple Angular gantt-chart component with a day-view.\n\n![ngx-daily-gantt-chart screenshot](https://github.com/tahaerden/npm-workspace/raw/master/projects/ngx-daily-gantt-chart/images/ss.png)\n\n## Features\n\n1. Dynamic workhours for each day.\n2. Expandable child tasks.\n3. Multiple color-coded task statuses per task.\n4. Modern design themes: Material and gradient.\n5. Tooltips with additional info for the bars and statuses on timeline.\n\n## Installation\n\nRun `npm install ngx-daily-gantt-chart --save` or download zip from github / clone repo.\n\n## Usage\n\nInclude the module in your component as:\n\n`import { NgxDailyGanttChartModule } from 'ngx-daily-gantt-chart';`\n\nAdd the component in your HTML with the following inputs:\n\n```HTML\n<gantt-chart\n  [dayStart]=\"'09:00'\"\n  [dayEnd]=\"'15:30'\"\n  [tasks]=\"tasks\"\n  [theme]=\"'gradient'\"\n></gantt-chart>\n<!-- Theme is optional. Values are 'gradient', 'material', null. Default is 'material'  -->\n```\n\nYour tasks array should look like the following:\n\n```TS\ntasks = [\n    {\n      id: 1,\n      label: 'task 1',\n      description: 'description for task 1',\n      start: '09:00',\n      end: '14:30',\n      statusList: [\n        {\n          start: '09:30',\n          color: '#18BFED'\n        },\n        {\n          start: '10:30',\n          color: '#b3c71e'\n        }\n      ]\n    },\n    {\n      id: 2,\n      label: 'task 2',\n      description: 'description for task 2',\n      start: '10:00',\n      end: '11:00',\n      isParent: true, // makes this row clickable & expandable\n      statusList: [\n        {\n          start: '09:30',\n          color: '#18BFED'\n        },\n        {\n          start: '09:45',\n          color: '#ff7300'\n        },\n        {\n          start: '10:30',\n          color: '#b3c71e'\n        }\n      ]\n    },\n    {\n      id: 3, // Unique ID\n      parentID: 2, // states this is a subtask\n      isHidden: true, // hidden by default\n      label: 'task 2a', // is shown inside the bars on timeline\n      description: 'description for task 2a',\n      tooltip: 'tooltip for task', // is shown when task is hovered\n      start: '10:00', // start time of the task\n      end: '14:25', // end time of the task\n      statusList: [\n        {\n          start: '11:30', // start time of first status\n          color: '#18BFED' // background color of the status\n        },\n        {\n          start: '12:30', // start time of second status = end time of first status\n          color: '#b3c71e',\n          tooltip: 'tooltip for status', // is shown when status is hovered\n        }\n      ]\n    }\n  ];\n```"},"npm":{"downloads":[{"from":"2022-07-06T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":2},{"from":"2022-06-30T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":37},{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":82},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":255},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":695},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":1306}],"starsCount":0},"github":{"starsCount":3,"forksCount":5,"subscribersCount":1,"issues":{"count":3,"openCount":2,"distribution":{"3600":1,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":1,"70858800":1,"212576400":0},"isDisabled":false},"contributors":[{"username":"tahaerden","commitsCount":24}],"commits":[{"from":"2022-06-30T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-06-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-04-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2022-01-08T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0},{"from":"2021-07-07T00:00:00.000Z","to":"2022-07-07T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":2602,"testsSize":1742},"linters":["tslint","editorconfig"],"outdatedDependencies":{"tslib":{"required":"^1.10.0","stable":"2.4.0","latest":"2.4.0"}}}},"evaluation":{"quality":{"carefulness":0.84,"tests":0.3,"health":0.75,"branding":0},"popularity":{"communityInterest":10,"downloadsCount":85,"downloadsAcceleration":-0.1404299847792999,"dependentsCount":0},"maintenance":{"releasesFrequency":0.45924657534246577,"commitsFrequency":0,"openIssues":0.33333333333333337,"issuesDistribution":0}},"score":{"final":0.4085720173050957,"detail":{"quality":0.7596792299288017,"popularity":0.04707675185577302,"maintenance":0.4691182433626705}}}