gookin-wu / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 0 forks source link

Milestone goes to the wrong place when hour view is selected #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
JSGantt Version: 1.2
Browser: Chrome
OS: Windows 7

What steps will reproduce the problem?

  1. Use the main example at http://www.jsgantt.com
  2. change to add "hour" options: 

    g.setFormatArr("hour", "day","week","month","quarter")  

  3. Change the chart tasks to:

    g.AddTaskItem(new JSGantt.TaskItem(1,   'Define Chart API',     '2/8/2008',          '2/15/2008',          'ff0000', 'http://help.com', 0, 'Brian',     0, 0, 0, 1));
    g.AddTaskItem(new JSGantt.TaskItem(11,  'Chart Object',         '2/10/2008', '2/10/2008', 'ff00ff', 'http://www.yahoo.com', 1, 'Shlomy',  100, 0, 1, 1, "121,122", "My Caption"));

  4. Choose hour view option at gantt

  5. look at gantt and see that the milestones goes to the wrong place. 

What is the expected output? What do you see instead?

   The milestone goes to day 8 instead of stay at day 10 as specified at task.

Please provide any additional information below.

Original issue reported on code.google.com by carlos....@gmail.com on 17 Jun 2011 at 6:16