NOTE: For this example to work you have to run it in a web server context. This example shows both the current plan and the original baseline. To see the data loaded into the gantt chart, click these links:

Note that the js for the example code is not minified so it is readable. See baseline.js.