homepage Welcome to WebmasterWorld Guest from 54.81.170.186
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

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?
tntpower




msg:3865516
 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?

Thanks,

(Script language + AJAX or Flash implementation preferred)

 

rocknbil




msg:3865734
 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.

tntpower




msg:3866572
 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]

belfasttim




msg:3870453
 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.

HTH

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved