AJAX requires a web server to run.  You can get one to run locally with 
WAMP<http://www.wampserver.com>(Windows) or 
XAMPP <https://www.apachefriends.org/index.html> (Windows, Linux, MacOS).

On Friday, May 16, 2014 3:47:42 AM UTC-4, David Kasabji wrote:
>
> I have tried your example, but it is not working.
>
> Here is the fiddle: http://jsfiddle.net/6FyVj/
>
> My files are in the same folder named:
>
> test.html
> test.xml
>
> BR,
> David
>
> Dne petek, 16. maj 2014 09:24:04 UTC+2 je oseba David Kasabji napisala:
>>
>> Andrew hi! You're helping me out again :)
>>
>> So what I have discovered so far is, that the best thing to do is to 
>> CONVERT the XML into a JSON and then use JSON as an input for the Google 
>> Charts. However, I am bounded to use the database only LOCALLY (we do not 
>> use Web Server to pull out the data!).  I found a XML to JSON convertion 
>> script here: http://davidwalsh.name/convert-xml-json
>>
>> I think it looks fine, but I have not yet tested it.  Nevertheless, I 
>> want to get back to your example:
>>
>> Yours idea, if it works, is even better for me, so that I dont need to 
>> conver the XML to JSON. Because we have database written in XML. I will try 
>> this out.
>>
>> One question before: Can this be done locally? Becaues I only work on 
>> local data - there is no web server (though, I do not see any refferences 
>> that your coding might need to connect to server).
>>
>> BR,
>> David
>>
>> Dne petek, 16. maj 2014 07:59:06 UTC+2 je oseba David Kasabji napisala:
>>>
>>> Hello,
>>>
>>> I am sorting a huge databse into an XML file, and I need to take some 
>>> data from that database as INPUT for tha Google Charts (for example for 
>>> Column Chart).
>>> I have been struggling to find any good tutorials on how to do this, 
>>> ussually people just link some general stuff, but not specificly for Google 
>>> Charts.
>>>
>>> So any input, maybe even walkthrough, would be really really appreciated.
>>>
>>> Thanks in advance!
>>>
>>> BR,
>>> David
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to