Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142996 | Feb 28,2019 03:28 AM UTC | Mar 5,2019 09:06 AM UTC | ASP.NET MVC | 3 |
![]() |
Tags: Gantt |
Hi,
I'm trying to plot task on Gantt without any start or end date. It just have number of days each month. Our data just consists of number of days a resource will work on a project each month. A resource will be allocated to multiple projects in a month. Something like below
I would like to show each resource's availability during each month, for planning purposes, like below using the above data
Whats the best way to achieve this? we are looking into unscheduled tasks, but from the online demo it seems like it will plot the below each other not next to each other.
Any suggestions are highly appreciated.
Note for forum moderators:
Gantt is not available as a control to select while posting a new thread hence posted under Chart. Please move to appropriate section.
Thanks
Amit
function queryTaskbarInfo(args) {
if (args.data.taskName == "PROJ_A") {
args.taskbarBackground = "#005094";
}
else if (args.data.taskName == "PROJ_B") {
args.taskbarBackground = "#007600";
}
}
function create(args) {
var modifiedData = [],
flatRecord = $.extend([], args.model.flatRecords);
for (var i = 0; i < flatRecord.length; i++) {
for (var j = 0; j < flatRecord[i].eResourceChildTasks.length; j++) {
//...
modifiedData.push(flatRecord[i].eResourceChildTasks[j].item)
}
}
this.setModel({ "dataSource": modifiedData });
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.