fusion chart not display.
akulalaDec 18 2009 — edited Dec 19 2009hi,
im trying to use fusion chart in my application, i've uploaded the fusion chart into the server.
in my page, i created a html region and i put all the code to generate the chart in the region.
this is the code that i use in thee region:
_____________________________________________________________________________
<head>
<link rel="stylesheet" href="/FusionGadgets_Developer/Contents/Style.css"
type="text/css" />
<script language="JavaScript"
src="/FusionGadgets_Developer/JSClass/FusionCharts.js"></script>
</head>
<body>
<div id="chartdiv503" align="center"></div>
<script
type="text/javascript">
var chart = new
FusionCharts("/FusionGadgets_Developer/Charts/Gantt.swf", "ChartId503", "1100", "790", "1", "0");
myChart.setDataXML("<chart dateFormat='dd/mm/yyyy' fontSize='9' palette='' caption='' ganttPaneDuration='25' ganttPaneDurationUnit='d' showPercentLabel='1' subcaption=''>
<categories fontSize='12'></categories>
<categories fontSize='9' isBold='0'></categories>
<categories fontSize='8' isBold='1'></categories>
<processes fontSize='9' isBold='1' align='left'>
<process label='Project Requirement' fontSize='12' fontColor='0372AB' isBold='1' />
<process label=' PM1 Acceptance' /><process label=' Project Briefing' />
<process label=' Requirement Deliverable Confirmation' />
<process label=' Kick-off Meeting' />
<process label=' Services Application Submission to PDOs' />
<process label='Equipment / License Requisition and availability' fontSize='12' fontColor='0372AB' isBold='1' />
<process label='PAC Preparation and Submission' />
<process label=' PAC Approval' />
<process label=' Requisition using RF Online and SAP to Procument' />
<process label=' Purchasing and Delivery of Equipment / License' />
<process label=' Equipment / License Acceptance and Assetization' />
<process label='IP Network Configuration' fontSize='12' fontColor='0372AB' isBold='1' />
<process label='IP VPN - MPLS Configuration' />
<process label=' DNS Configuration' />
<process label='Project Commissioning' fontSize='12' fontColor='0372AB' isBold='1' />
<process label=' Stability Monitoring' />
<process label=' UAT Compilation and COC' />
<process label=' Project Handover - Documentation Submission' />
<process label=' Project Closed' />
</processes>
<tasks showEndDate='1'>
<task start='27/10/2009' end='04/11/2009' showAsGroup='1' label='Project Requirement' showLabel='1' color='0372AB' />
</tasks>
<tasks showEndDate='1'><task start='27/10/2009' end='28/10/2009' />
</tasks>
<tasks showEndDate='1'><task start='27/10/2009' end='28/10/2009' />
</tasks>
<tasks showEndDate='1'><task start='27/10/2009' end='03/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='03/11/2009' end='04/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='03/11/2009' end='04/11/2009' />
</tasks>
<tasks showEndDate='1'>
<task start='27/10/2009' end='22/12/2009' showAsGroup='1' label='Equipment / License Requisition and Availability' showLabel='1' color='0372AB' />
</tasks>
<tasks showEndDate='1'>
<task start='27/10/2009' end='03/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='03/11/2009' end='10/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='10/11/2009' end='17/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='17/11/2009' end='15/12/2009' />
</tasks>
<tasks showEndDate='1'><task start='15/12/2009' end='22/12/2009' />
</tasks>
<tasks showEndDate='1'>
<task start='27/10/2009' end='03/11/2009' showAsGroup='1' label='IP Network Configuration' showLabel='1' color='0372AB' />
</tasks>
<tasks showEndDate='1'><task start='27/10/2009' end='03/11/2009' />
</tasks>
<tasks showEndDate='1'><task start='27/10/2009' end='03/11/2009' />
</tasks>
<tasks showEndDate='1'>
<task start='05/01/2010' end='03/02/2010' showAsGroup='1' label='Project Commissioning' showLabel='1' color='0372AB' />
</tasks>
<tasks showEndDate='1'>
<task start='05/01/2010' end='19/01/2010' />
</tasks>
<tasks showEndDate='1'><task start='19/01/2010' end='26/01/2010' />
</tasks>
<tasks showEndDate='1'><task start='26/01/2010' end='02/02/2010' />
</tasks>
<tasks showEndDate='1'><task start='02/02/2010' end='03/02/2010' />
</tasks>
<trendlines><line start='18/12/2009' displayValue='Today' color='333333' thickness='2' dashed='1' />
</trendlines></chart>");
chart.render("chartdiv503");
</script>
</body>
</html>
____________________________________________________________________________________________
when i run the page, the region is empty. it doesnt show the chart. no error message. just an empty region.
can someone tell me whats wrong because this is the first time i use fusion chart.
thanks.
-akulala