D3.js Gantt Chart
var tasks; d3.json('http://localhost:8080/result', function(error, data) { tasks = data data.forEach(function(d) { d.startDate = new Date(d.maxTime['$date']); d.endD
Solution 1:
Try
d.startDate = new Date(d.maxTime.$date);
d.endDate = new Date(d.minTime.$date);
or
d.startDate = new Date(d.maxTime["$date"]);
d.endDate = new Date(d.minTime["$date"]);
Post a Comment for "D3.js Gantt Chart"