Last active
November 17, 2019 07:54
-
-
Save varun-raj/ae54d8064f27ec0a9cbf4e4aceb9a2ea to your computer and use it in GitHub Desktop.
Gantt Chart Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { | |
data: data, // Your actuall data | |
element: "#Chart", // The element for rendering the chart | |
box_padding: 10, // Padding for the blocks | |
metrics: {type: "sprint", year: 2017, cycles: cycles}, // Type of gantt | |
onClick: function(data) { | |
console.log(data); // Onclick of each node | |
}, | |
onEmptyButtonClick: function() { | |
console.log("Empty Clicked"); | |
}, | |
onAreaClick: function(location) { | |
console.log("Clicked On" + location); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment