Sign in to follow this  
Leden

Interactive Graph based on user input

Recommended Posts

I want to create a graph to display the value of someone's investment over time. The graph should be based on default values initially on page load. Then I need to have two form fields for deposit value and interest rate plus a button to tell the graph to update.

 

 

 

Once the button has been clicked, the graph should redraw to show the deposits over time along with the compounding interest to show the value of the investment growing over a 10 year period.

 

 

 

My question is this: I'm not very experienced with javascript or FusionCharts so I want to keep things as simple as possible - what is the best way to approach this project? Should I use an external XML file and use Javascript to update it or should I just embed the XML data inside the HTML file and update it with DOM scripting?

 

 

 

I'd like to hear people's suggestions about which method will allow me to achieve this outcome but is the simplest approach.

 

 

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this