invalid character error
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



invalid character error Expand / Collapse
Author
Message
Posted 5/9/2008 9:31:29 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/13/2008 10:51:44 AM
Posts: 2, Visits: 6
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

Post #6159
Posted 5/12/2008 6:29:54 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 5/12/2008 6:29:47 AM
Posts: 1,772, Visits: 448
Seems to work fine here - can you recheck?

Thanks,
Pallav Nadhani
FusionCharts Team
Post #6215
Posted 5/13/2008 10:54:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/13/2008 10:51:44 AM
Posts: 2, Visits: 6
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
Post #6245
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:58am


Execution: 0.125.