Echilon

Members
  • Content count

    3
  • Joined

  • Last visited

About Echilon

  • Rank
    Forum Newbie
  1. I have web service which shows chart XML and an updatepanel on my page. I'm trying to add a button click event to find what the users entered in the updatepanel and set the XmlURL for the chart. The problem is, nothing's happening. I even tried with the setXMLData method in Firebug's console, but nothing. My code is: var statsGraph = new FusionCharts('/Charts/Line2D.swf', 'chartContainer', '400', '300', '0', '1'); statsGraph.setXMLData('<?xml version="1.0" encoding="utf-8"?><chart caption="TMy caption" xAxisName="Date" yAxisName="Follow Count"> <dataset> <set label="08 January 2011" value="119" /> <set label="09 January 2011" value="118" /> </dataset></chart>'); statsGraph.render('chartContainer'); And I have a div on the page: <div id="chartContainer"></div> I know the JavaScript fires and no errors are shown. Any ideas?