当数据解析完成(准备好供API使用)但尚未显示在甘特图中时触发
gantt.init("gantt_here"); gantt.attachEvent("onParse", function(){alert("数据已解析")}); gantt.parse(demo_tasks);