Basic
var r = new MbtPlanner(id);
r.AppendTasks(l, defaultLoads);
r.Plan();
r.Draw();
With custom colors by resource
var r = new MbtPlanner(id);
r.SetBackGroundColor(51, "pink");
r.SetBackGroundColor(153, "orange");
r.AppendTasks(l, defaultLoads);
r.Plan();
r.Draw();
With a global out of work day.
var r = new MbtPlanner(id);
r.AppendOutOfWorkDay("*", "");
r.AppendTasks(l, defaultLoads);
r.Plan();
r.Draw();
With a global and specific out of work day.
var r = new MbtPlanner(id);
r.AppendOutOfWorkDay("*", "");
r.AppendOutOfWorkDay(36, "");
r.AppendTasks(l, defaultLoads);
r.Plan();
r.Draw();
With initial completion.
var r = new MbtPlanner(id);
l[0].Completion = 33.333;
r.AppendTasks(l, defaultLoads);
r.Plan();
r.Draw();