Dynamically updated graphs on a web page - howto?

I need to understand how to create a web page with dynamically updated graphs. This should be something close to how the stock market charts look like (for example, Google Finance ), although with more complex functionality, which is not the point. Naturally, I am thinking of writing an ajaxy-style flash control that will communicate with the server, well, something like XMLHttpRequest, but from flash code and draw things based on the data received. Can this be done with a flash? Does the security model provide this client-server interaction? If so, could you come up with any links for me to get started (similar open source projects, articles, whatever)? Or should I forget about the flash and use the Java applet right away?

It’s important to note: I don’t think I can use the Google Charts API because I also need to have user interaction. In the link above in Google Finance, the user can drag the chart back and forth with a mouse close to what I need (I will also need to implement some actions from the drop-down menu).

Thanks for your answers and opinions!

+3
source share
5 answers

Try the following: jQuery Flot

Flot - JQuery . , . < > . . AJAX.

YUI

, Flash AJAX, .

/RS

+4

API Google , . . Sunrise and Sunset. , Javascript, API Google, .

. (. ) Flash . ( , , .) , , .

+2

Flex...

+1

. URLLoader . actionscript3 Shape . Flash , , , .

Flash- . , "" , . Flash , XML- XML, .

As for the safety model, this is just a standard flash. You can make network connections back to the server from which the swf file appeared, without any problems. If you want to establish a connection with another server, then this server must provide your client with permission to connect to it by placing the crossdomain.xml file

+1
source

I'm not sure about Flash, but that would be pretty easy to do in Silverlight. I am sure that you can easily make a server request in Flash too.

I would be looking for a long survey.

0
source

All Articles