Groups | Blog | Home
all groups > coldfusion flash integration > august 2006 >

coldfusion flash integration : Realtime chart as flash


RG_100
8/14/2006 12:53:04 PM
Most online explanations of "dynamic" charts call for the user to click a
button to re-query the DB to display new data. What I need is a chart that
updates in realtime...if the DB changes, then the chart changes....like the
speedometer on your car goes up and down as your speed changes.

At this point I would just like to know if it can be done, and what
technologies I need to study....

Flash remoting?
Ajax?
Web services?

Does anyone know?
RG_100
8/14/2006 5:49:53 PM
tks for the feedback....my read of Flex says it is a development environment
itself, apart from CF. Are you saying that it can be used within CF charting to
get the results I need?

I was actually hoping that the answer would be some kind of scripting inside
the cfchart tag that retrieved new data from the server and instructed the
chart to re-draw continuously.....
jmprattmba
8/14/2006 6:02:31 PM
[quoted text, click to view]
an Actionscript function on that page to call a service that called a function
to re-fetch the data. Then used setInterval to force the Actionscript function
to fire every 60 seconds. Also added a button to call the function manually if
a user just can't wait. I've not done much charting but I think it would work
the same.

I'll be rewriting my app into Flex soon in order to get the automatic
real-time refresh I really want.
PaulH **AdobeCommunityExpert**
8/14/2006 11:44:47 PM
[quoted text, click to view]


PaulH **AdobeCommunityExpert**
8/15/2006 1:25:51 AM
[quoted text, click to view]

use flex charts instead of cfchart. the FDS bits will push updated data
out to the clients' charts. cf on the back & flex on the front is a
killer combo.

AddThis Social Bookmark Button