Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DlhSoftTeam committed Oct 24, 2019
1 parent 19e29aa commit e324c83
Show file tree
Hide file tree
Showing 143 changed files with 15 additions and 9 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for (var i = 1; i <= 5; i++)
var scheduleChartSettings = {
gridWidth: '20%', chartWidth: '80%', isSplitterEnabled: false,
isMouseWheelZoomEnabled: false,
currentTime: new Date(year, month, 2) // Display the current time vertical line of the chart at the project start date.
currentTime: new Date(year, month, 2, 12, 0, 0) // Display the current time vertical line of the chart at the project start date.
};
// Optionally, initialize custom theme and templates for Schedule Chart (themes.js, templates.js).
initializeGanttChartTheme(scheduleChartSettings, theme);
Expand All @@ -40,8 +40,10 @@ var scheduleChartView = DlhSoft.Controls.ScheduleChartView.initialize(scheduleCh
;
// Synchronize displayed time (horizontal scrolling) between Gantt Chart and Schedule Chart components.
ganttChartSettings.displayedTimeChangeHandler = scheduleChartSettings.displayedTimeChangeHandler = function (displayedTime) {
scheduleChartView.scrollToDateTime(displayedTime);
ganttChartView.scrollToDateTime(displayedTime);
if (displayedTime != scheduleChartView.settings.displayedTime)
scheduleChartView.scrollToDateTime(displayedTime);
if (displayedTime != ganttChartView.settings.displayedTime)
ganttChartView.scrollToDateTime(displayedTime);
};
// Support for dragging source tasks from Gantt Chart to target Schedule Chart resource rows.
var hoveredGanttChartItem;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for (var i = 1; i <= 5; i++)
var scheduleChartSettings = {
gridWidth: '20%', chartWidth: '80%', isSplitterEnabled: false,
isMouseWheelZoomEnabled: false,
currentTime: new Date(year, month, 2) // Display the current time vertical line of the chart at the project start date.
currentTime: new Date(year, month, 2, 12, 0, 0) // Display the current time vertical line of the chart at the project start date.
};
// Optionally, initialize custom theme and templates for Schedule Chart (themes.js, templates.js).
initializeGanttChartTheme(scheduleChartSettings, theme);
Expand All @@ -39,8 +39,10 @@ initializeGanttChartTemplates(scheduleChartSettings, theme);
var scheduleChartView = DlhSoft.Controls.ScheduleChartView.initialize(scheduleChartViewElement, items, scheduleChartSettings);
// Synchronize displayed time (horizontal scrolling) between Gantt Chart and Schedule Chart components.
ganttChartSettings.displayedTimeChangeHandler = scheduleChartSettings.displayedTimeChangeHandler = function (displayedTime) {
scheduleChartView.scrollToDateTime(displayedTime);
ganttChartView.scrollToDateTime(displayedTime);
if (displayedTime != scheduleChartView.settings.displayedTime)
scheduleChartView.scrollToDateTime(displayedTime);
if (displayedTime != ganttChartView.settings.displayedTime)
ganttChartView.scrollToDateTime(displayedTime);
};
// Support for dragging source tasks from Gantt Chart to target Schedule Chart resource rows.
var hoveredGanttChartItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for (var i = 1; i <= 5; i++)
var scheduleChartSettings = <ScheduleChartView.Settings>{
gridWidth: '20%', chartWidth: '80%', isSplitterEnabled: false,
isMouseWheelZoomEnabled: false,
currentTime: new Date(year, month, 2) // Display the current time vertical line of the chart at the project start date.
currentTime: new Date(year, month, 2, 12, 0, 0) // Display the current time vertical line of the chart at the project start date.
};

// Optionally, initialize custom theme and templates for Schedule Chart (themes.js, templates.js).
Expand All @@ -52,8 +52,10 @@ var scheduleChartView = DlhSoft.Controls.ScheduleChartView.initialize(scheduleCh

// Synchronize displayed time (horizontal scrolling) between Gantt Chart and Schedule Chart components.
ganttChartSettings.displayedTimeChangeHandler = scheduleChartSettings.displayedTimeChangeHandler = (displayedTime) => {
scheduleChartView.scrollToDateTime(displayedTime);
ganttChartView.scrollToDateTime(displayedTime);
if (displayedTime != scheduleChartView.settings.displayedTime)
scheduleChartView.scrollToDateTime(displayedTime);
if (displayedTime != ganttChartView.settings.displayedTime)
ganttChartView.scrollToDateTime(displayedTime);
};

// Support for dragging source tasks from Gantt Chart to target Schedule Chart resource rows.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e324c83

Please sign in to comment.