The JavaScripts do not have any built-in external data loading capabilities. It's a data visualization library. We leave the implementation, including choosing data loading mechanisms, up to the developer.
For an entry point we recommend this article that deals with loading CSV data:
http://blog.amcharts.com/2011/03/amcharts-javascript-tutorials-part-2.html
I've followed this example to the letter, but I still can't get the chart to display. I've made my own php file that successfully queries my mysql database, and creates a file with two data values in the following format:
value1,value2\n
I am using google chrome and wamp on my machine, I do not know what is wrong. I know my php file works, but I can't figure out what is wrong with my html file, since I get no errors, I just get a grey page with a white box where the chart should go. I've attached my html file. Please if anyone has had the same issue and resolved it, any help/hint will be highly appreciated.
I've also posted posted my question on stackoverflow.com, here is the link which has a more detail breakdown:
http://stackoverflow.com/questions/17643105/amcharts-with-mysql?noredirect=1#comment25693550_17643105
There are problems with that tutorial.