Giter Site home page Giter Site logo

pmeisen / js-gantt Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 5.0 1.62 MB

Library to create simple charts visualizing time intervals with rich configuration capabilities and easy adaptable data loading.

License: MIT License

CSS 0.81% JavaScript 95.73% HTML 3.45%
activities activity activity-chart chart gantt gantt-chart interval intervals javascript js-gantt svg task task-chart tasks time-interval time-interval-data time-intervals timeinterval visualization

js-gantt's People

Contributors

pmeisen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

js-gantt's Issues

Looks great but

can I set the label for the tasks ?
I need them to be displayed on the left of the chart

Specify number of rows, and which interval goes on which row

I am missing the functionality to specify where an interval should be placed. As far as I can make out, the library will try to minimize the number of rows used, but I can see a use case where I have some predefined number of actors/items that I would like to visualize the allocated interval of time for.

I presume this could be part of the mapper (and I assumed group did this, but I cannot find any documentation regarding the matter nor get it to work).

Great library so far.

Support question - Usage with node.js

I was looking at this package for creating an svg gantt chart

https://github.com/substack/gantt-chart

the problem is that it's very limited, and I don't want to visualize dependencies, I just want to show a timeline of various processes, when they start and stop. So I am looking to just provide this info:

const chart = {
   process1: {
     displayName: 'foo',
     start: number,
     end:  number,
   },

    process2: {
     displayName: 'bar',
     start: number,
     end:  number,
   },

    process3: {
     displayName: 'baz',
     start: number,
     end:  number,
   }
};

so my question is:
is there a way I can write the <svg></svg> data to a file using this package?
I want to use it with Node.js, not in the browser, and write the html to an .html file.

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.