title: Upgrade my amcharts flash to amcharts javascript
body: <p>I'm using amcharts flash at the moment. see here: <a href="http://www.myinvestmentdecision.com.au/Sample-Results" rel="nofollow">http://www.myinvestmentdecision.com.au/Sample-Results</a></p>
  
  <p>I want to change that to use the javascript charts instead so that It will work on apple devices, and so that it will print nicely in modern browsers (most of which can't print flash at all, or print it looking very clunky)</p>
  
  <p>My question is this - I use XML to produce the flash graphs. The data is in a variety of xml feeds. Is there a way for me to use this in the javascript charts as well? From the example I saw here: <a href="http://blog.amcharts.com/2011/05/getting-started-part-2.html" rel="nofollow">http://blog.amcharts.com/2011/05/getting-started-part-2.html</a>
  They show code that has a big array for the data</p>
  
  <pre><code>var chartData = [
  
       {country: "USA", litres: "19544"},
  
       {country: "Japan", litres: "5455"},
  
       {country: "France", litres: "2313"},
  
       {country: "Germany", litres: "2208"},
  
       {country: "UK", litres: "2057"},
  
       {country: "India", litres: "1771"},
  
       {country: "Russia", litres: "1495"},
  
       {country: "South Korea", litres: "1281"},
  
  ]; 
  </code></pre>
  
  <p>That would be an extra processing step for me, one which I'm not totally keen on.
  If it has to be done then okay, my question changes to, how do i do it?</p>
  
  <p><a href="http://pastebin.com/cq2ivn9z" rel="nofollow">Here's an example of my XML</a></p>