UNPKG

suivi-dhx-trial-gantt

Version:

An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.

35 lines (33 loc) 888 B
<!DOCTYPE html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Load data from XML file</title> <script src="../../codebase/dhtmlxgantt.js?v=9.0.7"></script> <script src="../common/webserver_warning.js?v=9.0.7"></script> <link rel="stylesheet" href="../../codebase/dhtmlxgantt.css?v=9.0.7"> <style> html, body { padding: 0px; margin: 0px; height: 100%; } </style> </head> <body> <div id="gantt_here" style='width:100%; height:100%;'></div> <script> gantt.attachEvent("onAjaxError", function(request){ if (!request.status || !request.response){ gantt.message({ text: webserverWarningText, expire: -1 }) } return true; }); gantt.config.date_grid = "%Y-%m-%d"; gantt.config.date_format = "%Y-%m-%d %H:%i:%s"; gantt.init("gantt_here"); gantt.load("../common/data.xml", "xml"); </script> </body>