Original:
http://buzinagames.com/blog/?cat=8Inserting Gantt Chart - Flot - Feng in the Area Office Tasks:
1-Download all the compressed files
http://buzinagames.com/links/contador.php?arquivo=gantt on the link to the folder public / assets / javascript / og / tasks
2-Open the file application / views / task / new_list_tasks.php
3-Copy this code to call the script that creates the chart:
require_javascript ('og / tasks / gantt.js');
4 - Paste this code into the file new_list_tasks.php just below the line containing require_javascript ('og / tasks / print.js');
5-Open the file public / assets / javascript / og / tasks / TasksTopToolbar.js
6-Copy this code to create the button on the desktop task:
this.add ('-');
this.add (new Ext.Action ({
text: 'Gantt',
tooltip: 'Gantt',
iconCls: 'ico-reporting',
handler: function () {
ogTasks.ganttAllGroups ();
}
scope: this
}));
7 - Paste this code in the last line before the closing brace of the function og.TasksTopToolbar (just after the "print all groups")