mcarpe

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by mcarpe

  1. I am having a hard time understanding the load xml function via a dropdown box form. The examples I have seen (below) in the documentation work with a single button and a single XML file. Are there any examples out there with a drop down box form and multiple xml files? <html> <head> <title>Update Chart data</title> <script type="text/javascript" src="../../Charts/FusionCharts.js"> </script> </head> <body> <div id="chartContainer">Chart will load here!</div> <script type="text/javascript"><!-- var myChart = new FusionCharts( "../../Charts/Pyramid.swf", "myChartId", "400", "300", "0", "1" ); myChart.setXMLUrl("RevenueData.xml"); myChart.render("chartContainer"); function changeData() { var chartReference = FusionCharts("myChartId"); chartReference.setXMLUrl("QunatityData.xml"); } // --> </script> <input type="button" onClick="changeData();" value="Change Chart Data"> </body> </html>