+ Start a Discussion

AnyGantt integration with salesforce

Hi all,


I am trying to integrate anygantt chart with visualforce. I am using the following code :


<apex:page showHeader="false">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>AnyChart Sample</title>
<script type="text/javascript" language="javascript" src="./js/AnyChart.js"></script>
<apex:includeScript value="{!$Resource.AnyChartJS}"/>
<script type="text/javascript" language="javascript">
var chart = new AnyChart("{!$Resource.AnyChartFlash}");
chart.width = 900;
chart.height = 400;


And Following XML (as static resource) :


<task id="1" name="Architectural Design" actual_start="2008/01/01" actual_end="2008/01/02" progress="50" />
<task id="2" name="Interior Design" actual_start="2008/02/01" actual_end="2008/03/01" progress="35" />
<task id="3" name="Construction Phase" actual_start="2008/02/10" actual_end="2008/04/18" progress="0" />
<task id="4" name="Decoration Phase" actual_start="2008/04/01" actual_end="2008/05/10" progress="0" />
<task id="5" name="Opening Celebration" actual_start="2008/05/20" progress="0" />



when I am running the above code it shows loading of xml but nothing gets load. Please help me, if anyone has done already it. 


Thanks in advance


With Regards

Palak Agarwal