ramkmr
-
Content count
8 -
Joined
-
Last visited
Posts posted by ramkmr
-
-
Hi Arindam,
Yes I am running all this in web server only did tried relative path exact path etc
the issue now is
If I give
myChart.setDataURL("C:/../../Gantt/MyFirstChart.xml");
Then it works fine remember the data on this file is just cut and paste of the following asp's output
but if I give the actual asp which generates the xml output
myChart.setDataURL("C:/../../BasicDBExample.asp");
it doesn't work here(says "invalid xml data") so really confused why the direct link to asp not working
if I give
myChart.setDataXML("C:/../../BasicDBExample.asp");
then getting "no data to display" error message
anything I am missing here.
any ideas?
-
Hi Arindam,
Thanks a lot
I did tried that's fine the error gone but the chart not showing (If I copy the xml output and save as .xml after replacing double quotes with single qoute then the refer it works)
Is that because I am using trail version and do I need to replace the double and single quotes too if so how
when I view the asp page the xml generated having double quotes in it?
any ideas?
Thanks
-
Hi
I am trying to generate Gantt chart on the fly
Attached my asp page and another html page which shows the gantt chart
but I am getting invalid xml data error
any ideas why I am getting?
Is this because of trail version
If so any work around?
Thanks a lot
The output I am having from the strXML is as below (from firebox browser is that double quote matter here)
-
-
-
-
Hi pallav,
Which docs you are referring can you give the link or send me the docs
Thanks a lot
Ramesh
-
hi
thanks for your reply
In normal production how this is possible or do you have ANY OTHER WAY of doing this
I mean building the xml file?
-
Hi Pallavi,
Thanks a lot
I changed the file locations as / rather than then gave full path then it worked
Is there anyway I can save the sql query results (using asp) as xml file and then use it as xml data source here
Ramesh
-
Hi
I am trying Gantt chart and getting the "invalid character error" when accessing the html page
my html page is
==================
<html>
<head>
<title>My first chart using FusionWidgets</title>
<SCRIPT LANGUAGE="Javascript" SRC="Charts/FusionCharts.js"></SCRIPT>
</head>
<body bgcolor="#ffffff">
<H1>test</H1>
<div id="chartdiv" align="center">
The chart will appear within this DIV. This text will be replaced by the chart.
</div>
<script type="text/javascript">
var myChart = new FusionCharts("Charts/Gantt.swf", "myChartId", "400", "200", "0", "0");
myChart.setDataURL("MyData.xml");
myChart.render("chartdiv");
</SCRIPT>
</body>
</html>
===========my xml file is======
<chart dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007' showSlackAsFill='0' showPercentLabel='1'>
<categories>
<category start='02/01/2007' end='04/01/2007' label='Q1' />
<category start='04/01/2007' end='07/01/2007' label='Q2' />
<category start='07/01/2007' end='09/01/2007' label='Q3' />
</categories>
<categories>
<category start='02/01/2007' end='03/01/2007' label='Feb' />
<category start='03/01/2007' end='04/01/2007' label='Mar' />
<category start='04/01/2007' end='05/01/2007' label='Apr' />
<category start='05/01/2007' end='06/01/2007' label='May' />
<category start='06/01/2007' end='07/01/2007' label='Jun' />
<category start='07/01/2007' end='08/01/2007' label='Jul' />
<category start='08/01/2007' end='09/01/2007' label='Aug' />
</categories>
<processes fontSize='12' isBold='1' align='right' headerText='What to do?' headerFontSize='18' headerVAlign='bottom' headerAlign='right'>
<process label='Research Phase' />
<process label='Identify Customers' />
<process label='Survey 50 Customers' />
<process label='Interpret Requirements' />
<process label='Study Competition' />
<process label='Production Phase' />
<process label='Documentation of features' />
<process label='Brainstorm concepts' />
<process label='Design Code' />
<process label='Testing QA' />
<process label='Documentation of product' />
<process label='Global Release' />
</processes>
<tasks >
<task start='02/04/2007' end='04/06/2007' showAsGroup='1' label='Research' showLabel='1'/>
<task start='02/04/2007' end='02/10/2007' />
<task start='02/08/2007' end='02/19/2007' />
<task start='02/19/2007' end='03/02/2007' />
<task start='02/24/2007' end='03/02/2007' />
<task start='03/02/2007' end='08/27/2007' showAsGroup='1' label='Production' showLabel='1'/>
<task start='03/02/2007' end='03/21/2007' />
<task start='03/21/2007' end='04/06/2007' />
<task start='04/06/2007' end='07/21/2007' />
<task start='07/21/2007' end='08/19/2007' />
<task start='07/28/2007' end='08/24/2007' />
<task start='08/24/2007' end='08/27/2007' />
</tasks>
</chart>
============my js file is fusioncharts.js ======
any idea why i am getting this
I am using IE7, with flash player 9.0
Thanks a lot:)

Invalid xml data with trial gantt chart
in Using FusionWidgets XT
Posted · Report reply
Hi Sudipto
you are right
I got it working now
I Just copied the Gantt.swf in web application root folder and referenced
it's working great now
Thanks a lot for your team
So it has to be the all files in web folders to get it working