WelshNoob

Server Side Or Client Side

Recommended Posts

A web page has, down left side, a number of select form buttons, choosing options for name, date etc.

The main body of the page - to the right of the select buttons - is a single column/line combo chart.

 

I want to make selections from the left side, press a 'submit' button and see an updated chart.

I make another selection, press 'submit' and the chart updates again.

 

All of this happens without leaving the same web page.

 

My current set up - the 'submit' button calling a php file - when I press 'submit' an updated chart appears in a separate window.

 

Is this related to server/client side scripting and do I need to use a different technology?

 

Thanks

WelshNoob

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

This is related to server side scripting and you can use any server side scripting language like ASP,PHP,ASP.NET etc.

 

This can be done also using JavaScript.

 

For more details, please refer to the link below:

 

http://www.fusioncha...sicExample.html

http://www.fusioncha.../?PHP_Form.html

 

Hope this helps.biggrin.gif

Edited by Angie

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Please find the zip file attached.

 

This is a very easy and simple application to suffice your requirement.

 

Here, the chart has been created using JavaScript and you would not need to call any other file to render the chart.

 

This application has some input boxes to provide chart data and after clicking on the button, the chart will render in the same page within the form.

 

Please try this and give us your feedback.

 

Hope you will love this!smile.gif

FormJSChart.zip

Share this post


Link to post
Share on other sites

Thanks for the link - works really well!!

 

Now, if only we can populate the boxes with lists from a database (say, a list of salespersons attached to one button, a list of products to another, and sales figures to another), giving options to select which, when chosen, are then used in a query on the same or another database to dynamically generate a chart ..... that would be amazing.

 

Thanks

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