charting4fun

Members
  • Content count

    3
  • Joined

  • Last visited

About charting4fun

  • Rank
    Forum Newbie
  1. xml data with dataURL method giving invalid XML

    Okay, got the problem... I had my XML in a frameset.... I was ignoring the fact the the Chart.swf file would be seeing the HTML for frames.. Thanks!
  2. xml data with dataURL method giving invalid XML

    Any clue anyone? The XML shown in my original post was actually cut-and-paste from the output of my CGI script as shown by the browser. Any help would be greatly appreciated!
  3. I have a very simple html page that embeds a Pie3D chart. I am trying to provide the data to this chart using dataURL method. The URL points to a simple CGI script that generates the required XML. To me it seems that the XML is perfectly valid but the chart keeps reporting the following error: ERROR: Invalid XML encountered. An XML element is malformed. Click the above "dataURL Invoked" link to see the XML in browser Or check the XML data provided. The dataURL looks like this: /cgi-bin/chartdata.tcl?group=memory&granularity=hourly&chartType=pie&debugMode=1 (the URL is url-encoded as provided to the chart swf) The XML generated by this CGI script is the following: <chart caption="Memory Utilization" subcaption="For " xAxisName="Time" yAxisName="Percentage"> <set label="Used" value="465507942"/> <set label="Free" value="1632246170"/> </chart> I understand xAxis and yAxis do not make sense for Pie chart, but removing them makes no difference. Providing the same data using dataXML embeded in the HTML works fine. Any help would be helpful!