Author Topic: Integration Gantt Chart within SAPGUI  (Read 7580 times)

umang@guixt.com

  • Administrator
  • Newbie
  • *****
  • Posts: 34
    • View Profile
Integration Gantt Chart within SAPGUI
« on: February 17, 2016, 11:46:34 AM »
title('Exontrol Gantt Chart - Powered by Liquid UI');
pushbutton([TOOLBAR],"@2M@Main Menu","/n/d1="+dirMain);

for (a=firstChild;a!=null;a=a.nextSibling){
   a.del();
}


var ganttChart = new ActiveXObject('Exontrol.Gantt');
ganttChart.Columns.Add('Gantt Chart Integration - Powered by Liquid UI');

h1 = ganttChart.Items.AddItem('Task 1');
h2 = ganttChart.Items.AddItem('Task 2');
h3 = ganttChart.Items.AddItem('Milestone 1');

ganttChart.Chart.FirstVisibleDate = '1/1/2016';
ganttChart.Chart.LevelCount = 2;


ganttChart.Items.AddBar(h1,'Task','1/2/2016','1/15/2016');
ganttChart.Items.AddBar(h2,'Task','1/9/2016','1/22/2016');
ganttChart.Items.AddBar(h3,'Milestone','1/22/2016','1/22/2016');

//ganttChart.FirstVisibleDate = '02162016';
//ganttChart.LevelCount = 2;

addToScreen(ganttChart, [1,2], [32,140], "container1");


Note: Above example is for a Gantt Chart OCX Control provided by: http://exontrol.com/exdownload.jsp?product=exgantt