All Projects → clayrisser → React Gantt

clayrisser / React Gantt

Licence: mit
A gantt chart for react

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Gantt

Zmjganttchart
Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, gantt chart or timetable as if you are using Excel.
Stars: ✭ 301 (+133.33%)
Mutual labels:  timeline, gantt, gantt-chart
Openproject
OpenProject is the leading open source project management software.
Stars: ✭ 5,337 (+4037.21%)
Mutual labels:  timeline, gantt, gantt-chart
ganttlab
A live Gantt chart for GitLab and GitHub
Stars: ✭ 30 (-76.74%)
Mutual labels:  gantt-chart, gantt
Plugin Gantt
Gantt charts for Kanboard
Stars: ✭ 73 (-43.41%)
Mutual labels:  gantt, gantt-chart
Angular Gantt
Gantt chart component for AngularJS
Stars: ✭ 1,407 (+990.7%)
Mutual labels:  gantt, gantt-chart
angular-gantt-schedule-timeline-calendar-example
Angular gantt-schedule-timeline-calendar usage example
Stars: ✭ 15 (-88.37%)
Mutual labels:  timeline, gantt
vue-frappe-gantt-demo
No description or website provided.
Stars: ✭ 24 (-81.4%)
Mutual labels:  gantt-chart, gantt
React Timeline Gantt
A react Timeline component with virtual rendering
Stars: ✭ 347 (+168.99%)
Mutual labels:  timeline, gantt
Gantt
GPL version of Javascript Gantt Chart
Stars: ✭ 653 (+406.2%)
Mutual labels:  gantt, gantt-chart
D3 Timeline
A simple D3 Timeline chart
Stars: ✭ 743 (+475.97%)
Mutual labels:  timeline, gantt-chart
Gantt Elastic
Gantt Chart [ javascript gantt chart, gantt component, vue gantt, vue gantt chart, responsive gantt, project manager , vue projects ]
Stars: ✭ 869 (+573.64%)
Mutual labels:  gantt, gantt-chart
react-gantt-schedule-timeline-calendar
React Gantt Schedule Timeline Calendar component wrapper for gantt-schedule-timeline-calendar [ react gantt, gantt, react gantt chart, react schedule, react timeline, react calendar, gantt, schedule, scheduler, timeline, calendar, react gantt chart ]
Stars: ✭ 47 (-63.57%)
Mutual labels:  timeline, gantt
ganttchart
The Winforms Gantt Chart is the .NET Winforms control originally hosted on CodePlex (http://ganttchart.codeplex.com)
Stars: ✭ 150 (+16.28%)
Mutual labels:  gantt-chart, gantt
stacked-gantt
JQuery Gantt-like chart with stacked activities/tasks, providing conciser information.
Stars: ✭ 19 (-85.27%)
Mutual labels:  gantt-chart, gantt
jz-gantt
An easy-to-use Gantt component. 持续更新,中文文档
Stars: ✭ 87 (-32.56%)
Mutual labels:  gantt-chart, gantt
gantt-chart
Web component implementation of a Gantt chart.
Stars: ✭ 24 (-81.4%)
Mutual labels:  gantt-chart, gantt
smart-gantt-chart
Gantt Web Component
Stars: ✭ 15 (-88.37%)
Mutual labels:  gantt-chart, gantt
gantt-task-react
Gantt chart for React with Typescript
Stars: ✭ 426 (+230.23%)
Mutual labels:  gantt-chart, gantt
Angular Gantt Schedule Timeline Calendar
Angular version of gantt-schedule-timeline-calendar [ angular gantt, gantt chart, angular gantt chart, angular schedule, angular timeline, angular calendar, gantt chart, schedule, scheduler, timeline, calendar ]
Stars: ✭ 32 (-75.19%)
Mutual labels:  timeline, gantt-chart
React Google Charts
A thin, typed, React wrapper over Google Charts Visualization and Charts API.
Stars: ✭ 944 (+631.78%)
Mutual labels:  gantt, gantt-chart

react-gantt

npm npm GitHub stars

Gantt chart react component

Please ★ this repo if you found it useful ★ ★ ★

Submit your ReactGantt use cases and I will feature them in the in the used by section

Built by Silicon Hills LLC

index

Silicon Hills offers premium Node and React develpoment and support services. Get in touch at nuevesolutions.com.

Features

  • Multiple steps
  • Custom styles
  • Dynamic bounds

Demo

See a demo

Installation

npm install --save react-gantt

Dependencies

Usage

import ReactGantt, { GanttRow } from 'react-gantt';

class Demo extends Component {
  render() {
    return (
      <ReactGantt
        templates={{
          myTasks: {
            title: 'My Tasks',
            steps: [
              {
                name: 'Task Phase One',
                color: '#0099FF'
              },
              {
                name: 'Task Phase Two',
                color: '#FF9900'
              }
            ]
          }
        }}
        leftBound={moment().set({hour: 0, date: 30, month: 5, year: 2016}).toDate()}
        rightBound={moment().set({hour: 0, date: 29, month: 8, year: 2016}).toDate()}
      >
        <GanttRow
          title="Task 1"
          templateName="myTasks"
          steps={[
            moment().set({hour: 0, date: 1, month: 6, year: 2016}).toDate(),
            moment().set({hour: 0, date: 4, month: 8, year: 2016}).toDate(),
            moment().set({hour: 0, date: 17, month: 8, year: 2016}).toDate()
          ]}
        />
        <GanttRow
          title="Task 1"
          templateName="myTasks"
          steps={[
            moment().set({hour: 0, date: 27, month: 2, year: 2016}).toDate(),
            moment().set({hour: 0, date: 9, month: 7, year: 2016}).toDate(),
            moment().set({hour: 0, date: 22, month: 7, year: 2016}).toDate()
          ]}
        />
      </ReactGantt>
    );
  }
}

Props

ReactGantt

Prop Name Type Behavior
children GanttRow Gantt Rows initialized by you
dateFormat String String format to display dates
dayFormat String Format used when timeline is in 'day' window
debug Boolean Includes extra detailed outputs to show calculated values
hourFormat String Format used when timeline is in 'hourly' window
leftBound Object Date representation of the chart 'beginning' (left-most) date
minuteFormat String Format used when timeline is in 'minute' window
monthFormat String Format used when timeline is in 'monthly' window
rightBound Object Date representation of chart's ending (right-most) date
secondFormat String Format used when timeline is in 'seconds' window
style Object CSS object for chart customization
templates Object Object with keys representing potential states and values for state title and style
timeFormat String Is this used?
timelineStyle Object Object for styles to be used in timeline component, namely the allowed width between ticks
weekFormat String Format used when timeline is in 'weekly' window
yearFormat String Format used when timeline is in 'yearly' window

GanttTimeline

Prop Name Type Behavior
style Object Customize the calculated appearance of the timeline. In pixels: tickWidth, paddingLeft, minWidth
rows Array The parent's GanttRows (is this deprecated?)
scalingFactor Number Allows customization of the calculated # of ticks

GanttRow

Prop Name Type Behavior
barStyle Object Style object for gantt bar
popupStyle Object Style object for popup modal
markerStyle Object Style object for cursor
steps Array Array of steps that bar passes through (needs to exceed the templates steps by 1? Why?)
templateName String Template name to load style and step titles
title String Title to be displayed alongside bar

GanttBar

Prop Name Type Behavior
style Object CSS object for bar styles
steps Array Array of steps that bar passes through (needs to exceed the templates steps by 1? Why?)
templateName String Template name to load style and step titles

GanttPopup

Prop Name Type Behavior
style Object CSS Object for popup style
markerTime Object Time object represnting cursor position on parent GanttBar
activeStep Object Object representing current step cursor is hovering on parent GanttBar
title String Title (same as parent Gantt bar)
titleStyle Object Style for title displayed on pop up

Support

Submit an issue

Screenshots

react-gantt

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Used By

  • ModernGreek - The next generation of fraternity and sorority apparel
  • yerbaBuena - a superpowered approach to electronic medical records
  • TaskCluster - task execution framework that supports Mozilla's continuous integration and release processes

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].