homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Dynamic graphic (like stock quote chart), how to implement?

10+ Year Member

Msg#: 3865514 posted 3:13 am on Mar 8, 2009 (gmt 0)

I want to generate dynamic graphic (animation?) driven by data from another website.

It will be exactly like stock quote chart available in most finance website, ie: stock price changes every a few seconds automatically without refreshing the page.

Any suggestion?


(Script language + AJAX or Flash implementation preferred)



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3865514 posted 3:44 pm on Mar 8, 2009 (gmt 0)

The dynamic graphics can be drawn with php/perl using GD libraries or ImageMagick. You could do it with Flash, but if you do it server-side, it won't be Flash-dependent.

You'd probably want to use Ajax/JS if the data comes from an external site to refresh the values every few seconds. I'd be very frugal about what you do if you do this every few seconds, refreshing a few bytes of text would be OK but if you redraw the graphic every few seconds it could be intensive on your server, or intensive on the client if you use Flash.


10+ Year Member

Msg#: 3865514 posted 7:31 pm on Mar 9, 2009 (gmt 0)

Thanks for reply.

Both table and graphic are dynamically generated and continuously updated without reloading the entire page.

[edited by: txbakers at 11:21 pm (utc) on Mar. 9, 2009]
[edit reason] no URL drops please. [/edit]


5+ Year Member

Msg#: 3865514 posted 10:17 pm on Mar 14, 2009 (gmt 0)

I've used a product called amcharts before-- it does a good flash graph built from XML you generate dynamically (I use PHP). I think he's recently built out a stock-specific tool.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved