eagene

How to implement generic real-time chart

Recommended Posts

I'm evaluating FusionWidgets for the first time so bear with me if I'm missing something simple. Let's say you have a page with a list of stock symbols. You want the user to pick one, and then you will present a chart for that symbol.

 

 

 

1. How do you customize the XML that defines the chart at runtime to include the stock name?

 

2. Let's say I'm using php to retrieve the data from a database. How does my php code get the stock name when it's called from the flash program? Is there a way to have user variables passed with the dataStreamURL?

 

 

 

Thanks!

 

 

 

ETA: OK, I'm trying to accomplish this using setDataXML and having problems. Is there a schema somewhere I can use to validate my XML?

Edited by Guest

Share this post


Link to post
Share on other sites

I figured out what I need to do. The trick was using php to generate the setDataXml call for the javascript, so I can pass extra variables in the dataStreamURL allowing my data php code can pull up the correct data.

 

 

 

Thanks, still evaluating :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.